Contents

Duration.UnitsFormatStyle.UnitWidth

The width of a unit to use in formatting a duration.

Declaration

struct UnitWidth

Overview

Use the provided unit widths with the width parameter of the Duration.UnitsFormatStyle initializers to customize the display of units in a formatted string.

Topics

Duration unit widths

See Also

Working with unit widths