Calendar Identifiers

This topic defines the calendar identifiers (data type CALID) that are used to specify different calendars. Your applications can use these identifiers when using the following NLS functions and callback functions, which have parameters that take the CALID data type:

The following values are defined. All other values are reserved. These values cannot be combined with one another.

Calendar identifier

Meaning

1

CAL_GREGORIAN

Gregorian (localized)

2

CAL_GREGORIAN_US

Gregorian (English strings always)

3

CAL_JAPAN

Japanese Emperor Era

4

CAL_TAIWAN

Taiwan calendar

5

CAL_KOREA

Korean Tangun Era

6

CAL_HIJRI

Hijri (Arabic Lunar)

7

CAL_THAI

Thai

8

CAL_HEBREW

Hebrew (Lunar)

9

CAL_GREGORIAN_ME_FRENCH

Gregorian Middle East French

10

CAL_GREGORIAN_ARABIC

Gregorian Arabic

11

CAL_GREGORIAN_XLIT_ENGLISH

Gregorian transliterated English

12

CAL_GREGORIAN_XLIT_FRENCH

Gregorian transliterated French

23

CAL_UMALQURA

Windows Vista and later: Um Al Qura (Arabic lunar) calendar

 

Note

The gap in numbering between the identifiers CAL_GREGORIAN_XLIT_FRENCH and CAL_UMALQURA is intentional. The designator for CAL_UMALQURA is 23, not 13.

 

In addition, EnumCalendarInfo and EnumCalendarInfoEx allow the use of the value ENUM_ALL_CALENDARS to request an enumeration of all applicable calendars.

Value

Meaning

0xffffffff

ENUM_ALL_CALENDARS

All applicable calendars for the specified locale