Contents

Duration.UnitsFormatStyle.Unit

A unit to use in formatting a duration.

Declaration

struct Unit

Overview

Supported units range from hours to nanoseconds. Use these with the allowed parameter of the Duration.UnitsFormatStyle initializers to specify which units to use in a formatted string.

Topics

Duration units

Type Properties

See Also

Working with units