abbreviated
An abbreviated unit name.
Declaration
static var abbreviated: Duration.UnitsFormatStyle.UnitWidth { get }Discussion
For example, abbreviated produces the unit label “3 hr” for a 3-hour duration in the en_US locale.
An abbreviated unit name.
static var abbreviated: Duration.UnitsFormatStyle.UnitWidth { get }For example, abbreviated produces the unit label “3 hr” for a 3-hour duration in the en_US locale.