Contents

unitsStyle

The style to use when formatting the quantity or the name of the unit, such as “1 day ago” or “one day ago”.

Declaration

var unitsStyle: RelativeDateTimeFormatter.UnitsStyle { get set }

Discussion

The default value is full.

See Also

Configuring Formatter Options