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

Function UnsafeTimestampValue

common/values/timestamp_value.h:124–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122};
123
124inline TimestampValue UnsafeTimestampValue(absl::Time value) {
125 return TimestampValue(absl::in_place, value);
126}
127
128inline absl::StatusOr<TimestampValue> SafeTimestampValue(absl::Time value) {
129 absl::Status status = internal::ValidateTimestamp(value);

Callers 7

ModernValueFunction · 0.85
FromLegacyValueFunction · 0.85
optional_value.ccFile · 0.85
SafeTimestampValueFunction · 0.85
operator()Method · 0.85

Calls 1

TimestampValueFunction · 0.70

Tested by

no test coverage detected