Skip to main content
Temporal.DifferenceOptions.roundingIncrement - Temporal - Web documentation
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