Type Alias

NSCalendarIdentifier

The supported calendar types.

Declaration

typedef NSString *NSCalendarIdentifier;

Discussion

Use these identifiers to specify the kind of calendar. The Gregorian calendar is the calendar typically used in Europe, the Western Hemisphere, and elsewhere.

Topics

Type Properties

NSCalendarIdentifierGregorian

Identifier for the Gregorian calendar.

NSCalendarIdentifierISO8601

Identifier for the ISO8601 calendar.

NSCalendarIdentifierBuddhist

Identifier for the Buddhist calendar.

NSCalendarIdentifierChinese

Identifier for the Chinese calendar.

NSCalendarIdentifierCoptic

Identifier for the Coptic calendar.

NSCalendarIdentifierEthiopicAmeteAlem

Identifier for the Ethiopic (Amete Alem) calendar.

NSCalendarIdentifierEthiopicAmeteMihret

Identifier for the Ethiopic (Amete Mihret) calendar.

NSCalendarIdentifierHebrew

Identifier for the Hebrew calendar.

NSCalendarIdentifierIndian

Identifier for the Indian calendar.

NSCalendarIdentifierIslamic

Identifier for the Islamic calendar.

NSCalendarIdentifierIslamicCivil

Identifier for the Islamic civil calendar.

NSCalendarIdentifierIslamicTabular

Identifier for a tabular Islamic calendar.

NSCalendarIdentifierIslamicUmmAlQura

Identifier for the Islamic Umm al-Qura calendar.

NSCalendarIdentifierJapanese

Identifier for the Japanese calendar.

NSCalendarIdentifierPersian

Identifier for the Persian calendar.

NSCalendarIdentifierRepublicOfChina

Identifier for the Republic of China (Taiwan) calendar.

See Also

Creating and Initializing Calendars

+ calendarWithIdentifier:

Creates a new calendar specified by a given identifier.

- initWithCalendarIdentifier:

Initializes a calendar according to a given identifier.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software