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

Function GetTimeOfDayUTC

eval/public/extension_func_registrar.cc:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105CelValue GetTimeOfDayUTC(Arena* arena, absl::Time time_stamp) {
106 absl::TimeZone utc = absl::UTCTimeZone();
107 // call to helper function GetTimeOfDayTz
108 // return value from helper
109 return GetTimeOfDayTz(arena, time_stamp, utc);
110}
111
112int ToSeconds(const google::type::TimeOfDay* time_of_day) {
113 int seconds = 0;

Callers 2

BetweenToDStrFunction · 0.85

Calls 1

GetTimeOfDayTzFunction · 0.85

Tested by

no test coverage detected