Convenience functions to round or truncate to a multiple of seconds.

round_hms(x, secs)
trunc_hms(x, secs)

## Arguments

x |
A vector of class hms |

secs |
Multiple of seconds, a positive numeric. Values less than one
are supported |

## Value

The input, rounded or truncated to the nearest multiple of `secs`

## Examples

#> 12:34:55

#> 12:35:00

#> 12:34:00