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

Function DecodeTime

internal/proto_time_encoding.cc:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60absl::Time DecodeTime(const google::protobuf::Timestamp& proto) {
61 return absl::FromUnixSeconds(proto.seconds()) +
62 absl::Nanoseconds(proto.nanos());
63}
64
65absl::Status EncodeDuration(absl::Duration duration,
66 google::protobuf::Duration* proto) {

Callers 5

CreateTimestampMethod · 0.85
ValueFromMessageMethod · 0.85
TESTFunction · 0.85
FromObjectFunction · 0.85
ConstantFromProtoFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68