| 216 | } |
| 217 | |
| 218 | static inline TimestampValue GetMaxValue() { |
| 219 | return TimestampValue( |
| 220 | boost::gregorian::date(boost::date_time::max_date_time), |
| 221 | boost::posix_time::nanoseconds(NANOS_PER_DAY - 1)); |
| 222 | } |
| 223 | |
| 224 | /// Verifies that the time is not negative and is less than a whole day. |
| 225 | static inline bool IsValidTime(const boost::posix_time::time_duration& time) { |
nothing calls this directly
no test coverage detected