public enum Calendar extends Enum<Calendar> implements Key
Enum Constant and Description |
---|
BUDDHIST
International key, to use for localization, for buddhist calendar.
|
CHINESE
International key, to use for localization, for chinese calendar.
|
COPTIC
International key, to use for localization, for coptic calendar.
|
ETHIOPIA
International key, to use for localization, for ethiopia calendar.
|
ETHIOPIC
International key, to use for localization, for ethiopic calendar.
|
GREGORY
International key, to use for localization, for gregory calendar.
|
HEBREW
International key, to use for localization, for hebrew calendar.
|
INDIAN
International key, to use for localization, for indian calendar.
|
ISLAMIC
International key, to use for localization, for islamic calendar.
|
ISO8601
International key, to use for localization, for iso8601 calendar.
|
JAPANESE
International key, to use for localization, for japanese calendar.
|
PERSIAN
International key, to use for localization, for persian calendar.
|
ROC
International key, to use for localization, for roc calendar.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static Calendar |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Calendar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Calendar BUDDHIST
public static final Calendar CHINESE
public static final Calendar COPTIC
public static final Calendar ETHIOPIA
public static final Calendar ETHIOPIC
public static final Calendar GREGORY
public static final Calendar HEBREW
public static final Calendar INDIAN
public static final Calendar ISLAMIC
public static final Calendar ISO8601
public static final Calendar JAPANESE
public static final Calendar PERSIAN
public static final Calendar ROC
public static Calendar[] values()
for (Calendar c : Calendar.values()) System.out.println(c);
public static Calendar valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null