| 126 | } |
| 127 | |
| 128 | inline absl::StatusOr<TimestampValue> SafeTimestampValue(absl::Time value) { |
| 129 | absl::Status status = internal::ValidateTimestamp(value); |
| 130 | if (!status.ok()) { |
| 131 | return status; |
| 132 | } |
| 133 | return UnsafeTimestampValue(value); |
| 134 | } |
| 135 | |
| 136 | inline bool operator!=(TimestampValue lhs, TimestampValue rhs) { |
| 137 | return !operator==(lhs, rhs); |
nothing calls this directly
no test coverage detected