Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser_test.cc190 ParsesCorrectly("{January 1, 1988}", 567990000000, GRANULARITY_DAY)); in TEST_F()
195 ParsesCorrectly("{January 1, 1988}", 567990000000, GRANULARITY_DAY)); in TEST_F()
197 ParsesCorrectly("{january 31 2018}", 1517353200000, GRANULARITY_DAY)); in TEST_F()
199 GRANULARITY_DAY)); in TEST_F()
275 GRANULARITY_DAY, /*anchor_start_end=*/false)); in TEST_F()
277 GRANULARITY_DAY, /*anchor_start_end=*/true)); in TEST_F()
279 GRANULARITY_DAY, /*anchor_start_end=*/false)); in TEST_F()
287 "{tomorrow}", 82800000, GRANULARITY_DAY, /*anchor_start_end=*/false, in TEST_F()
303 "what's the time {now}", -3600000, GRANULARITY_DAY, in TEST_F()
309 "call me on {Saturday}", 169200000, GRANULARITY_DAY, in TEST_F()
[all …]
Dparser.cc367 if (granularity > DatetimeGranularity::GRANULARITY_DAY && in FillInterpretations()
/external/libtextclassifier/utils/calendar/
Dcalendar_test-include.cc162 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F()
182 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F()
202 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F()
222 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F()
242 EXPECT_EQ(granularity, GRANULARITY_DAY); in TEST_F()
Dcalendar-common.h217 case GRANULARITY_DAY: in RoundToGranularity()
335 granularity = DatetimeGranularity::GRANULARITY_DAY; in GetGranularity()
/external/libtextclassifier/annotator/
Dentity-data.fbs23 GRANULARITY_DAY = 3,
Dtypes.h162 GRANULARITY_DAY = 3, enumerator
/external/libtextclassifier/java/com/google/android/textclassifier/
DAnnotatorModel.java213 public static final int GRANULARITY_DAY = 3; field in AnnotatorModel.DatetimeResult