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

Function ToSeconds

eval/public/extension_func_registrar.cc:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112int ToSeconds(const google::type::TimeOfDay* time_of_day) {
113 int seconds = 0;
114
115 seconds += time_of_day->hours() * 60 * 60;
116 seconds += time_of_day->minutes() * 60;
117 seconds += time_of_day->seconds();
118
119 return seconds;
120}
121
122CelValue BetweenToD(Arena* arena, const google::protobuf::Message* time_of_day,
123 const google::protobuf::Message* start, const google::protobuf::Message* stop) {

Callers 1

BetweenToDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected