Lines Matching refs:granularity
45 DatetimeGranularity* granularity) const;
56 bool RoundToGranularity(DatetimeGranularity granularity,
75 TCalendar* calendar, DatetimeGranularity* granularity) const { in InterpretParseData() argument
80 *granularity = GetGranularity(parse_data); in InterpretParseData()
139 TC3_CALENDAR_CHECK(RoundToGranularity(*granularity, calendar)) in InterpretParseData()
205 DatetimeGranularity granularity, TCalendar* calendar) const { in RoundToGranularity() argument
210 switch (granularity) { in RoundToGranularity()
306 DatetimeGranularity granularity = DatetimeGranularity::GRANULARITY_YEAR; in GetGranularity() local
310 granularity = DatetimeGranularity::GRANULARITY_YEAR; in GetGranularity()
315 granularity = DatetimeGranularity::GRANULARITY_MONTH; in GetGranularity()
319 granularity = DatetimeGranularity::GRANULARITY_WEEK; in GetGranularity()
335 granularity = DatetimeGranularity::GRANULARITY_DAY; in GetGranularity()
340 granularity = DatetimeGranularity::GRANULARITY_HOUR; in GetGranularity()
345 granularity = DatetimeGranularity::GRANULARITY_MINUTE; in GetGranularity()
350 granularity = DatetimeGranularity::GRANULARITY_SECOND; in GetGranularity()
353 return granularity; in GetGranularity()