Overview | Methods | This Package | All Packages
Provides additional calendar types.
Syntax
public int getOptionalCalendarType()
Return Value
Returns an integer value that represents additional calendar types.
Remarks
The return value of this method can be a zero-separated list of one or more of the following calendar-type values:
| Value | Description |
| 0 | No additional types valid |
| 1 | Gregorian (as in United States) |
| 2 | Gregorian (English strings always) |
| 3 | Era: Year of the Emperor (Japan) |
| 4 | Era: Year of the Taiwan Region |
| 5 | Tangun Era (Korea) |
Use the fields of the Locale.CalendarType class to determine the type of calendar that was returned by the getOptionalCalendarType method.
See Also Locale.OptionalCalendarType, setCalendarType