roundToSeconds
Rounds this duration to the nearest whole second.
Rounding happens at millisecond precision with ties rounding away from zero. Infinite durations are returned unchanged.
Rounds this duration to the nearest whole second.
Rounding happens at millisecond precision with ties rounding away from zero. Infinite durations are returned unchanged.