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

Function FormatTimestamp

internal/time.cc:135–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135absl::StatusOr<std::string> FormatTimestamp(absl::Time timestamp) {
136 CEL_RETURN_IF_ERROR(ValidateTimestamp(timestamp));
137 return RawFormatTimestamp(timestamp);
138}
139
140std::string FormatNanos(int32_t nanos) {
141 constexpr int32_t kNanosPerMillisecond = 1000000;

Callers 1

TESTFunction · 0.85

Calls 2

ValidateTimestampFunction · 0.85
RawFormatTimestampFunction · 0.85

Tested by 1

TESTFunction · 0.68