Searched refs:relative_datetime (Results 1 – 3 of 3) sorted by relevance
79 bool IsValidDatetime(const RelativeDateTime* relative_datetime) { in IsValidDatetime() argument80 if (relative_datetime->base()) { in IsValidDatetime()81 return IsValidDatetime(relative_datetime->base()); in IsValidDatetime()191 const grammar::datetime::RelativeDateTime* relative_datetime) { in FillRelativeDateTimeComponents() argument194 *relative_datetime->relative_datetime_component()) { in FillRelativeDateTimeComponents()204 if (relative_datetime->base()) { in FillRelativeDateTimeComponents()205 FillAbsoluteDateTimeComponents(relative_datetime->base(), in FillRelativeDateTimeComponents()224 } else if (ungrounded_datetime->relative_datetime()) { in Ground()227 ungrounded_datetime->relative_datetime())); in Ground()267 } else if (ungrounded_datetime->relative_datetime()) { in IsValidUngroundedDatetime()[all …]
70 ungrounded_datetime.relative_datetime.reset(new RelativeDateTimeT); in BuildRelativeDatetime()71 ungrounded_datetime.relative_datetime->relative_datetime_component in BuildRelativeDatetime()73 ungrounded_datetime.relative_datetime->relative_datetime_component.back() in BuildRelativeDatetime()75 ungrounded_datetime.relative_datetime->relative_datetime_component.back() in BuildRelativeDatetime()77 ungrounded_datetime.relative_datetime->relative_datetime_component.back() in BuildRelativeDatetime()79 ungrounded_datetime.relative_datetime->base.reset(new AbsoluteDateTimeT); in BuildRelativeDatetime()80 ungrounded_datetime.relative_datetime->base->year = 2020; in BuildRelativeDatetime()81 ungrounded_datetime.relative_datetime->base->month = 6; in BuildRelativeDatetime()82 ungrounded_datetime.relative_datetime->base->day = 30; in BuildRelativeDatetime()
145 relative_datetime:RelativeDateTime;