TemporalZ

RoundingOptions

Options for rounding a Duration.

Fields

#
largest_unit:?Unit

The largest unit to round to.

smallest_unit:?Unit

The smallest unit to round to.

rounding_mode:?RoundingMode

The rounding mode to use.

rounding_increment:?u32

The increment to round to.

relative_to:?RelativeTo

The relative-to context (PlainDate, PlainDateTime, or ZonedDateTime).