Searched refs:time_ms_utc (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/ |
D | types.h | 174 int64 time_ms_utc; member 179 DatetimeParseResult() : time_ms_utc(0), granularity(GRANULARITY_UNKNOWN) {} in DatetimeParseResult() 183 : time_ms_utc(arg_time_ms_utc), granularity(arg_granularity) {} in DatetimeParseResult() 188 return granularity == other.granularity && time_ms_utc == other.time_ms_utc; 202 data.time_ms_utc == other.data.time_ms_utc && 216 << value.data.time_ms_utc << ", /*granularity=*/ "
|
D | text-classifier_test.cc | 964 EXPECT_EQ(result[0].datetime_parse_result.time_ms_utc, 1483225200000); in TEST_P() 973 EXPECT_EQ(result[0].datetime_parse_result.time_ms_utc, 1488355200000); in TEST_P() 982 EXPECT_EQ(result[0].datetime_parse_result.time_ms_utc, 1514831420000); in TEST_P() 995 EXPECT_EQ(result[0].datetime_parse_result.time_ms_utc, 1483225200000); in TEST_P() 1017 EXPECT_EQ(result[0].datetime_parse_result.time_ms_utc, 5439600000); in TEST_P() 1028 EXPECT_EQ(result[0].datetime_parse_result.time_ms_utc, 10537200000); in TEST_P()
|
D | textclassifier_jni.cc | 91 classification_result[i].datetime_parse_result.time_ms_utc, in ClassificationResultsToJObjectArray()
|
/external/libtextclassifier/datetime/ |
D | parser_test.cc | 45 std::string FormatMillis(int64 time_ms_utc) { in FormatMillis() argument 46 long time_seconds = time_ms_utc / 1000; // NOLINT in FormatMillis() 132 << FormatMillis(expected[0].data.time_ms_utc); in ParsesCorrectly() 136 << FormatMillis(filtered_results[i].data.time_ms_utc); in ParsesCorrectly()
|
D | parser.cc | 398 result->granularity, &(result->time_ms_utc))) { in ExtractDatetime()
|