Package com.ibm.icu.impl
Enum CalType
- java.lang.Object
-
- java.lang.Enum<CalType>
-
- com.ibm.icu.impl.CalType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUDDHIST
CHINESE
COPTIC
DANGI
ETHIOPIC
ETHIOPIC_AMETE_ALEM
GREGORIAN
HEBREW
INDIAN
ISLAMIC
ISLAMIC_CIVIL
ISLAMIC_RGSA
ISLAMIC_TBLA
ISLAMIC_UMALQURA
ISO8601
JAPANESE
PERSIAN
ROC
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
id
-
Constructor Summary
Constructors Modifier Constructor Description private
CalType(java.lang.String id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
static CalType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CalType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREGORIAN
public static final CalType GREGORIAN
-
ISO8601
public static final CalType ISO8601
-
BUDDHIST
public static final CalType BUDDHIST
-
CHINESE
public static final CalType CHINESE
-
COPTIC
public static final CalType COPTIC
-
DANGI
public static final CalType DANGI
-
ETHIOPIC
public static final CalType ETHIOPIC
-
ETHIOPIC_AMETE_ALEM
public static final CalType ETHIOPIC_AMETE_ALEM
-
HEBREW
public static final CalType HEBREW
-
INDIAN
public static final CalType INDIAN
-
ISLAMIC
public static final CalType ISLAMIC
-
ISLAMIC_CIVIL
public static final CalType ISLAMIC_CIVIL
-
ISLAMIC_RGSA
public static final CalType ISLAMIC_RGSA
-
ISLAMIC_TBLA
public static final CalType ISLAMIC_TBLA
-
ISLAMIC_UMALQURA
public static final CalType ISLAMIC_UMALQURA
-
JAPANESE
public static final CalType JAPANESE
-
PERSIAN
public static final CalType PERSIAN
-
ROC
public static final CalType ROC
-
-
Method Detail
-
values
public static CalType[] 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 (CalType c : CalType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getId
public java.lang.String getId()
-
-