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

Function GetSeconds

runtime/standard/time_functions.cc:149–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149Value GetSeconds(absl::Time timestamp, absl::string_view tz) {
150 return GetTimeBreakdownPart(timestamp, tz,
151 [](const absl::TimeZone::CivilInfo& breakdown) {
152 return breakdown.cs.second();
153 });
154}
155
156Value GetMilliseconds(absl::Time timestamp, absl::string_view tz) {
157 return GetTimeBreakdownPart(

Callers 6

ToAbslDurationMethod · 0.85
UnsafeToAbslDurationMethod · 0.85
ToAbslTimeMethod · 0.85
UnsafeToAbslTimeMethod · 0.85
TEST_FFunction · 0.85

Calls 1

GetTimeBreakdownPartFunction · 0.85

Tested by 1

TEST_FFunction · 0.68