Truncate seconds and parts of seconds
| 249 | |
| 250 | // Truncate seconds and parts of seconds |
| 251 | TimestampValue TruncMinute(const date& orig_date, const time_duration& orig_time) { |
| 252 | time_duration new_time(orig_time.hours(), orig_time.minutes(), 0, 0); |
| 253 | return TimestampValue(orig_date, new_time); |
| 254 | } |
| 255 | |
| 256 | // Truncate parts of seconds |
| 257 | TimestampValue TruncSecond(const date& orig_date, const time_duration& orig_time) { |
no test coverage detected