Contents

allowedUnits

The bitmask of calendrical units such as day and month to include in the output string.

Declaration

var allowedUnits: NSCalendar.Unit { get set }

Discussion

The allowed calendar units are:

Assigning any other calendar units to this property results in an exception.

See Also

Configuring the Formatter Options