Enum Calendar
- java.lang.Object
-
- java.lang.Enum<Calendar>
-
- org.pepstock.charba.client.intl.enums.Calendar
-
- All Implemented Interfaces:
Serializable
,Comparable<Calendar>
,Key
public enum Calendar extends Enum<Calendar> implements Key
Enumerates the calendar to manage the dates.- Author:
- Andrea "Stock" Stocchero
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
Returns the name value of propertystatic 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.
-
-
-
Enum Constant Detail
-
BUDDHIST
public static final Calendar BUDDHIST
International key, to use for localization, for buddhist calendar.
-
CHINESE
public static final Calendar CHINESE
International key, to use for localization, for chinese calendar.
-
COPTIC
public static final Calendar COPTIC
International key, to use for localization, for coptic calendar.
-
ETHIOPIA
public static final Calendar ETHIOPIA
International key, to use for localization, for ethiopia calendar.
-
ETHIOPIC
public static final Calendar ETHIOPIC
International key, to use for localization, for ethiopic calendar.
-
GREGORY
public static final Calendar GREGORY
International key, to use for localization, for gregory calendar.
-
HEBREW
public static final Calendar HEBREW
International key, to use for localization, for hebrew calendar.
-
INDIAN
public static final Calendar INDIAN
International key, to use for localization, for indian calendar.
-
ISLAMIC
public static final Calendar ISLAMIC
International key, to use for localization, for islamic calendar.
-
ISO8601
public static final Calendar ISO8601
International key, to use for localization, for iso8601 calendar.
-
JAPANESE
public static final Calendar JAPANESE
International key, to use for localization, for japanese calendar.
-
PERSIAN
public static final Calendar PERSIAN
International key, to use for localization, for persian calendar.
-
ROC
public static final Calendar ROC
International key, to use for localization, for roc calendar.
-
-
Method Detail
-
values
public static Calendar[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Calendar c : Calendar.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Calendar valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-