Searched refs:HasFieldType (Results 1 – 4 of 4) sorted by relevance
28 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()
261 bool DatetimeParsedData::HasFieldType( in HasFieldType() function in libtextclassifier3::DatetimeParsedData272 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()
783 bool HasFieldType(const DatetimeComponent::ComponentType& field_type) const;
104 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()