property Temporal.ToStringPrecisionOptions.roundingMode
Controls how rounding is performed:
halfExpand: Round to the nearest of the values allowed byroundingIncrementandsmallestUnit. When there is a tie, round up. This mode is the default.ceil: Always round up, towards the end of time.trunc: Always round down, towards the beginning of time.floor: Also round down, towards the beginning of time. This mode acts the same astrunc, but it's included for consistency withTemporal.Duration.round()where negative values are allowed andtruncrounds towards zero, unlikefloorwhich rounds towards negative infinity which is usually unexpected. For this reason,truncis recommended for most use cases.