Lines Matching refs:DatetimeComponent
86 StatusOr<DatetimeComponent::RelativeQualifier> ToRelativeQualifier( in ToRelativeQualifier()
90 return DatetimeComponent::RelativeQualifier::THIS; in ToRelativeQualifier()
92 return DatetimeComponent::RelativeQualifier::LAST; in ToRelativeQualifier()
94 return DatetimeComponent::RelativeQualifier::NEXT; in ToRelativeQualifier()
96 return DatetimeComponent::RelativeQualifier::NOW; in ToRelativeQualifier()
98 return DatetimeComponent::RelativeQualifier::TOMORROW; in ToRelativeQualifier()
100 return DatetimeComponent::RelativeQualifier::YESTERDAY; in ToRelativeQualifier()
102 return DatetimeComponent::RelativeQualifier::PAST; in ToRelativeQualifier()
104 return DatetimeComponent::RelativeQualifier::FUTURE; in ToRelativeQualifier()
106 return DatetimeComponent::RelativeQualifier::UNSPECIFIED; in ToRelativeQualifier()
113 StatusOr<DatetimeComponent::ComponentType> ToComponentType( in ToComponentType()
117 return DatetimeComponent::ComponentType::YEAR; in ToComponentType()
119 return DatetimeComponent::ComponentType::MONTH; in ToComponentType()
121 return DatetimeComponent::ComponentType::WEEK; in ToComponentType()
123 return DatetimeComponent::ComponentType::DAY_OF_WEEK; in ToComponentType()
125 return DatetimeComponent::ComponentType::DAY_OF_MONTH; in ToComponentType()
127 return DatetimeComponent::ComponentType::HOUR; in ToComponentType()
129 return DatetimeComponent::ComponentType::MINUTE; in ToComponentType()
131 return DatetimeComponent::ComponentType::SECOND; in ToComponentType()
133 return DatetimeComponent::ComponentType::MERIDIEM; in ToComponentType()
135 return DatetimeComponent::ComponentType::UNSPECIFIED; in ToComponentType()
148 DatetimeComponent::ComponentType::YEAR, in FillAbsoluteDateTimeComponents()
153 DatetimeComponent::ComponentType::MONTH, absolute_datetime->month()); in FillAbsoluteDateTimeComponents()
157 DatetimeComponent::ComponentType::DAY_OF_MONTH, in FillAbsoluteDateTimeComponents()
162 DatetimeComponent::ComponentType::DAY_OF_WEEK, in FillAbsoluteDateTimeComponents()
167 DatetimeComponent::ComponentType::HOUR, absolute_datetime->hour()); in FillAbsoluteDateTimeComponents()
171 DatetimeComponent::ComponentType::MINUTE, absolute_datetime->minute()); in FillAbsoluteDateTimeComponents()
175 DatetimeComponent::ComponentType::SECOND, absolute_datetime->second()); in FillAbsoluteDateTimeComponents()
179 DatetimeComponent::ComponentType::MERIDIEM, in FillAbsoluteDateTimeComponents()
185 DatetimeComponent::ComponentType::ZONE_OFFSET, in FillAbsoluteDateTimeComponents()
195 TC3_ASSIGN_OR_RETURN(const DatetimeComponent::ComponentType component_type, in FillRelativeDateTimeComponents()
200 const DatetimeComponent::RelativeQualifier relative_qualifier, in FillRelativeDateTimeComponents()
236 std::vector<DatetimeComponent> date_components; in Ground()
254 [](DatetimeComponent a, DatetimeComponent b) { in Ground()