Overview | Methods | This Package | All Packages
Sets the current calendar type.
Syntax
public void setCalendarType( int value )
Parameters
value
An integer value that represents a calendar type.
Remarks
A calendar type can be one of the following values:
| Value | Description |
| 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) |
You can use the fields of the Locale.CalendarType class to determine the type of calendar that was returned by this method.
See Also getCalendarType