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

Function GetMinutes

runtime/standard/time_functions.cc:142–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142Value GetMinutes(absl::Time timestamp, absl::string_view tz) {
143 return GetTimeBreakdownPart(timestamp, tz,
144 [](const absl::TimeZone::CivilInfo& breakdown) {
145 return breakdown.cs.minute();
146 });
147}
148
149Value GetSeconds(absl::Time timestamp, absl::string_view tz) {
150 return GetTimeBreakdownPart(timestamp, tz,

Callers 1

Calls 1

GetTimeBreakdownPartFunction · 0.85

Tested by

no test coverage detected