| 127 | } |
| 128 | |
| 129 | inline absl::StatusOr<DurationValue> SafeDurationValue(absl::Duration value) { |
| 130 | absl::Status status = internal::ValidateDuration(value); |
| 131 | if (!status.ok()) { |
| 132 | return status; |
| 133 | } |
| 134 | return UnsafeDurationValue(value); |
| 135 | } |
| 136 | |
| 137 | inline bool operator!=(DurationValue lhs, DurationValue rhs) { |
| 138 | return !operator==(lhs, rhs); |
nothing calls this directly
no test coverage detected