Contents

calendar

The calendar used by the locale.

Declaration

var calendar: Calendar.Identifier?

Discussion

Set this property to override the locale’s default calendar. To request the default calendar used by the locale, use the Locale property calendar.

This property corresponds to the ca key of the Unicode BCP 47 extension.

See Also

Specifying date and time components