Searched refs:GRANULARITY_DAY (Results 1 – 7 of 7) sorted by relevance
/external/libtextclassifier/annotator/datetime/ |
D | parser_test.cc | 190 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 …]
|
D | parser.cc | 367 if (granularity > DatetimeGranularity::GRANULARITY_DAY && in FillInterpretations()
|
/external/libtextclassifier/utils/calendar/ |
D | calendar_test-include.cc | 162 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()
|
D | calendar-common.h | 217 case GRANULARITY_DAY: in RoundToGranularity() 335 granularity = DatetimeGranularity::GRANULARITY_DAY; in GetGranularity()
|
/external/libtextclassifier/annotator/ |
D | entity-data.fbs | 23 GRANULARITY_DAY = 3,
|
D | types.h | 162 GRANULARITY_DAY = 3, enumerator
|
/external/libtextclassifier/java/com/google/android/textclassifier/ |
D | AnnotatorModel.java | 213 public static final int GRANULARITY_DAY = 3; field in AnnotatorModel.DatetimeResult
|