Package com.ibm.icu.util
Enum IslamicCalendar.CalculationType
- java.lang.Object
-
- java.lang.Enum<IslamicCalendar.CalculationType>
-
- com.ibm.icu.util.IslamicCalendar.CalculationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IslamicCalendar.CalculationType>
- Enclosing class:
- IslamicCalendar
public static enum IslamicCalendar.CalculationType extends java.lang.Enum<IslamicCalendar.CalculationType>
enumeration of available calendar calculation types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ISLAMIC
Religious calendar (astronomical simulation)ISLAMIC_CIVIL
Tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29]) algorithm with civil (Friday) epoch.ISLAMIC_TBLA
Tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29]) algorithm with astronomical (Thursday) epoch.ISLAMIC_UMALQURA
Umm al-Qura calendar
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
bcpType
-
Constructor Summary
Constructors Modifier Constructor Description private
CalculationType(java.lang.String bcpType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
bcpType()
static IslamicCalendar.CalculationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IslamicCalendar.CalculationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISLAMIC
public static final IslamicCalendar.CalculationType ISLAMIC
Religious calendar (astronomical simulation)
-
ISLAMIC_CIVIL
public static final IslamicCalendar.CalculationType ISLAMIC_CIVIL
Tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29]) algorithm with civil (Friday) epoch.
-
ISLAMIC_UMALQURA
public static final IslamicCalendar.CalculationType ISLAMIC_UMALQURA
Umm al-Qura calendar
-
ISLAMIC_TBLA
public static final IslamicCalendar.CalculationType ISLAMIC_TBLA
Tabular (intercalary years [2,5,7,10,13,16,18,21,24,26,29]) algorithm with astronomical (Thursday) epoch.
-
-
Method Detail
-
values
public static IslamicCalendar.CalculationType[] 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 (IslamicCalendar.CalculationType c : IslamicCalendar.CalculationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IslamicCalendar.CalculationType 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
-
bcpType
java.lang.String bcpType()
-
-