Home
last modified time | relevance | path

Searched refs:DatetimeGranularity (Results 1 – 7 of 7) sorted by relevance

/external/libtextclassifier/utils/calendar/
Dcalendar-common.h45 DatetimeGranularity* granularity) const;
47 DatetimeGranularity GetGranularity(const DateParseData& data) const;
56 bool RoundToGranularity(DatetimeGranularity granularity,
75 TCalendar* calendar, DatetimeGranularity* granularity) const { in InterpretParseData()
205 DatetimeGranularity granularity, TCalendar* calendar) const { in RoundToGranularity()
304 DatetimeGranularity CalendarLibTempl<TCalendar>::GetGranularity( in GetGranularity()
306 DatetimeGranularity granularity = DatetimeGranularity::GRANULARITY_YEAR; in GetGranularity()
310 granularity = DatetimeGranularity::GRANULARITY_YEAR; in GetGranularity()
315 granularity = DatetimeGranularity::GRANULARITY_MONTH; in GetGranularity()
319 granularity = DatetimeGranularity::GRANULARITY_WEEK; in GetGranularity()
[all …]
Dcalendar_test-include.cc24 DatetimeGranularity granularity; in TEST_F()
40 DatetimeGranularity granularity; in TEST_F()
60 DatetimeGranularity granularity; in TEST_F()
114 DatetimeGranularity granularity; in TEST_F()
141 DatetimeGranularity granularity; in TEST_F()
Dcalendar-javaicu.h75 DatetimeGranularity* granularity) const { in InterpretParseData()
85 DatetimeGranularity GetGranularity(const DateParseData& data) const { in GetGranularity()
/external/libtextclassifier/annotator/datetime/
Dparser_test.cc80 DatetimeGranularity expected_granularity, in ParsesCorrectly()
153 DatetimeGranularity expected_granularity, in ParsesCorrectly()
166 DatetimeGranularity expected_granularity) { in ParsesCorrectlyGerman()
174 DatetimeGranularity expected_granularity) { in ParsesCorrectlyGerman()
Dparser.cc351 DatetimeGranularity granularity = calendarlib_.GetGranularity(parse); in FillInterpretations()
367 if (granularity > DatetimeGranularity::GRANULARITY_DAY && in FillInterpretations()
/external/libtextclassifier/annotator/
Dtypes.h156 enum DatetimeGranularity { enum
173 DatetimeGranularity granularity;
178 DatetimeGranularity arg_granularity) in DatetimeParseResult()
/external/libtextclassifier/actions/
Dlua-utils.cc212 static_cast<DatetimeGranularity>( in ReadClassificationResult()