MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / GetDate

Function GetDate

runtime/standard/time_functions.cc:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115Value GetDate(absl::Time timestamp, absl::string_view tz) {
116 return GetTimeBreakdownPart(timestamp, tz,
117 [](const absl::TimeZone::CivilInfo& breakdown) {
118 return breakdown.cs.day();
119 });
120}
121
122Value GetDayOfWeek(absl::Time timestamp, absl::string_view tz) {
123 return GetTimeBreakdownPart(

Callers 1

Calls 1

GetTimeBreakdownPartFunction · 0.85

Tested by

no test coverage detected