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

Function GetDayOfMonth

runtime/standard/time_functions.cc:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108Value GetDayOfMonth(absl::Time timestamp, absl::string_view tz) {
109 return GetTimeBreakdownPart(timestamp, tz,
110 [](const absl::TimeZone::CivilInfo& breakdown) {
111 return breakdown.cs.day() - 1;
112 });
113}
114
115Value GetDate(absl::Time timestamp, absl::string_view tz) {
116 return GetTimeBreakdownPart(timestamp, tz,

Callers 1

Calls 1

GetTimeBreakdownPartFunction · 0.85

Tested by

no test coverage detected