roundToHours

Rounds this duration to the nearest whole hour.

Rounding happens at second precision with ties rounding away from zero. Infinite durations are returned unchanged.