| 48 | } |
| 49 | |
| 50 | absl::Duration MinDuration() { |
| 51 | // This currently supports a larger range then the current CEL spec. The |
| 52 | // intent is to widen the CEL spec to support the larger range and match |
| 53 | // google.protobuf.Duration from protocol buffer messages, which this |
| 54 | // implementation currently supports. |
| 55 | // TODO(google/cel-spec/issues/214): revisit |
| 56 | return absl::Seconds(google::protobuf::util::TimeUtil::kDurationMinSeconds) + |
| 57 | absl::Nanoseconds(google::protobuf::util::TimeUtil::kDurationMinNanoseconds); |
| 58 | } |
| 59 | |
| 60 | absl::Time MaxTimestamp() { |
| 61 | return absl::UnixEpoch() + |
no outgoing calls