Skip to main content

roundingIncrement

property Temporal.DifferenceOptions.roundingIncrement

Allows rounding to an integer number of units. For example, to round to increments of a half hour, use { smallestUnit: 'minute', roundingIncrement: 30 }.

number
Back to top