Skip to main content
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 }.

Type

number
Back to top