Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser_test.cc253 GRANULARITY_HOUR)); in TEST_F()
262 EXPECT_TRUE(ParsesCorrectly("{tomorrow at 4am}", 97200000, GRANULARITY_HOUR)); in TEST_F()
264 ParsesCorrectly("{wednesday at 4am}", 529200000, GRANULARITY_HOUR)); in TEST_F()
268 GRANULARITY_HOUR)); in TEST_F()
270 ParsesCorrectly("set an alarm for {7 a.m}", 21600000, GRANULARITY_HOUR)); in TEST_F()
292 "call me {in two hours}", 7200000, GRANULARITY_HOUR, in TEST_F()
384 GRANULARITY_HOUR)); in TEST_F()
392 ParsesCorrectlyGerman("{morgen um 4 vorm}", 97200000, GRANULARITY_HOUR)); in TEST_F()
432 EXPECT_TRUE(ParsesCorrectly("{monday 3pm}", 396000000, GRANULARITY_HOUR)); in TEST_F()
/external/libtextclassifier/annotator/
Dentity-data.fbs24 GRANULARITY_HOUR = 4,
Dtypes.h163 GRANULARITY_HOUR = 4, enumerator
Dannotator.cc1406 case GRANULARITY_HOUR: in PickCollectionForDatetime()
/external/libtextclassifier/utils/calendar/
Dcalendar-common.h220 case GRANULARITY_HOUR: in RoundToGranularity()
340 granularity = DatetimeGranularity::GRANULARITY_HOUR; in GetGranularity()
Dcalendar_test-include.cc263 EXPECT_EQ(granularity, GRANULARITY_HOUR); in TEST_F()
/external/libtextclassifier/java/com/google/android/textclassifier/
DAnnotatorModel.java214 public static final int GRANULARITY_HOUR = 4; field in AnnotatorModel.DatetimeResult