| 38 | } // namespace |
| 39 | |
| 40 | absl::Duration MaxDuration() { |
| 41 | // This currently supports a larger range then the current CEL spec. The |
| 42 | // intent is to widen the CEL spec to support the larger range and match |
| 43 | // google.protobuf.Duration from protocol buffer messages, which this |
| 44 | // implementation currently supports. |
| 45 | // TODO(google/cel-spec/issues/214): revisit |
| 46 | return absl::Seconds(google::protobuf::util::TimeUtil::kDurationMaxSeconds) + |
| 47 | absl::Nanoseconds(google::protobuf::util::TimeUtil::kDurationMaxNanoseconds); |
| 48 | } |
| 49 | |
| 50 | absl::Duration MinDuration() { |
| 51 | // This currently supports a larger range then the current CEL spec. The |
no outgoing calls