activeCalendarType
Type: Integer
The activeCalendarType property of the DateFormat class contains a reference to the calendar type that is currently used.
The calendar type can be one of the values listed in the following table.
Value | Class Constant | Description |
---|---|---|
1 | Gregorian | Gregorian (localized) |
2 | EnglishGregorian | Gregorian (always English strings) |
3 | JapaneseEra | Japanese era (Year of the Emperor) |
4 | ChineseEra | Year of the Republic of China |
5 | KoreanEra | Tangun era (Korea) |
6 | Hijri | Hijri |
7 | Thai | Thai |