| 311 | } |
| 312 | |
| 313 | int64_t RoundToMicros(const TimestampValue& ts) { |
| 314 | EXPECT_TRUE(ts.HasDateAndTime()); |
| 315 | int64_t result = 0; |
| 316 | EXPECT_TRUE(ts.UtcToUnixTimeMicros(&result)); |
| 317 | return result; |
| 318 | } |
| 319 | |
| 320 | int64_t FloorToMicros(const TimestampValue& ts) { |
| 321 | EXPECT_TRUE(ts.HasDateAndTime()); |
no test coverage detected