Lines Matching refs:DateParseData
23 bool DatetimeExtractor::Extract(DateParseData* result, in Extract()
53 result->field_set_mask |= DateParseData::YEAR_FIELD; in Extract()
61 result->field_set_mask |= DateParseData::MONTH_FIELD; in Extract()
69 result->field_set_mask |= DateParseData::DAY_FIELD; in Extract()
77 result->field_set_mask |= DateParseData::HOUR_FIELD; in Extract()
85 result->field_set_mask |= DateParseData::MINUTE_FIELD; in Extract()
93 result->field_set_mask |= DateParseData::SECOND_FIELD; in Extract()
101 result->field_set_mask |= DateParseData::AMPM_FIELD; in Extract()
109 result->field_set_mask |= DateParseData::RELATION_DISTANCE_FIELD; in Extract()
117 result->field_set_mask |= DateParseData::RELATION_FIELD; in Extract()
125 result->field_set_mask |= DateParseData::RELATION_TYPE_FIELD; in Extract()
379 DateParseData::AMPM* parsed_ampm) const { in ParseAMPM()
382 {DatetimeExtractorType_AM, DateParseData::AMPM::AM}, in ParseAMPM()
383 {DatetimeExtractorType_PM, DateParseData::AMPM::PM}, in ParseAMPM()
400 const UnicodeText& input, DateParseData::Relation* parsed_relation) const { in ParseRelation()
404 {DatetimeExtractorType_NOW, DateParseData::Relation::NOW}, in ParseRelation()
405 {DatetimeExtractorType_YESTERDAY, DateParseData::Relation::YESTERDAY}, in ParseRelation()
406 {DatetimeExtractorType_TOMORROW, DateParseData::Relation::TOMORROW}, in ParseRelation()
407 {DatetimeExtractorType_NEXT, DateParseData::Relation::NEXT}, in ParseRelation()
409 DateParseData::Relation::NEXT_OR_SAME}, in ParseRelation()
410 {DatetimeExtractorType_LAST, DateParseData::Relation::LAST}, in ParseRelation()
411 {DatetimeExtractorType_PAST, DateParseData::Relation::PAST}, in ParseRelation()
412 {DatetimeExtractorType_FUTURE, DateParseData::Relation::FUTURE}, in ParseRelation()
419 DateParseData::RelationType* parsed_relation_type) const { in ParseRelationType()
423 {DatetimeExtractorType_MONDAY, DateParseData::RelationType::MONDAY}, in ParseRelationType()
424 {DatetimeExtractorType_TUESDAY, DateParseData::RelationType::TUESDAY}, in ParseRelationType()
426 DateParseData::RelationType::WEDNESDAY}, in ParseRelationType()
428 DateParseData::RelationType::THURSDAY}, in ParseRelationType()
429 {DatetimeExtractorType_FRIDAY, DateParseData::RelationType::FRIDAY}, in ParseRelationType()
431 DateParseData::RelationType::SATURDAY}, in ParseRelationType()
432 {DatetimeExtractorType_SUNDAY, DateParseData::RelationType::SUNDAY}, in ParseRelationType()
433 {DatetimeExtractorType_SECONDS, DateParseData::RelationType::SECOND}, in ParseRelationType()
434 {DatetimeExtractorType_MINUTES, DateParseData::RelationType::MINUTE}, in ParseRelationType()
435 {DatetimeExtractorType_HOURS, DateParseData::RelationType::HOUR}, in ParseRelationType()
436 {DatetimeExtractorType_DAY, DateParseData::RelationType::DAY}, in ParseRelationType()
437 {DatetimeExtractorType_WEEK, DateParseData::RelationType::WEEK}, in ParseRelationType()
438 {DatetimeExtractorType_MONTH, DateParseData::RelationType::MONTH}, in ParseRelationType()
439 {DatetimeExtractorType_YEAR, DateParseData::RelationType::YEAR}, in ParseRelationType()