Home
last modified time | relevance | path

Searched refs:HasFieldType (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/annotator/datetime/
Dutils.cc28 if (parse.HasFieldType(DatetimeComponent::ComponentType::DAY_OF_WEEK)) { in FillInterpretations()
43 modified_parse.HasFieldType(DatetimeComponent::ComponentType::HOUR) && in FillInterpretations()
46 !modified_parse.HasFieldType( in FillInterpretations()
/external/libtextclassifier/native/annotator/
Dtypes.cc261 bool DatetimeParsedData::HasFieldType( in HasFieldType() function in libtextclassifier3::DatetimeParsedData
272 if (HasFieldType(field_type)) { in GetFieldValue()
282 if (HasFieldType(field_type)) { in GetRelativeValue()
291 if (HasFieldType(field_type)) { in HasRelativeValue()
300 return HasFieldType(field_type) && !HasRelativeValue(field_type); in HasAbsoluteValue()
Dtypes.h783 bool HasFieldType(const DatetimeComponent::ComponentType& field_type) const;
/external/libtextclassifier/native/utils/calendar/
Dcalendar-common.h104 if (parse_data.HasFieldType(DatetimeComponent::ComponentType::ZONE_OFFSET)) { in InterpretParseData()
111 if (parse_data.HasFieldType(DatetimeComponent::ComponentType::DST_OFFSET)) { in InterpretParseData()
156 if (parse_data.HasFieldType(DatetimeComponent::ComponentType::MERIDIEM)) { in InterpretParseData()