Enum IslamicCalendar.CalculationType

java.lang.Object
java.lang.Enum<IslamicCalendar.CalculationType>
com.ibm.icu.util.IslamicCalendar.CalculationType
All Implemented Interfaces:
Serializable, Comparable<IslamicCalendar.CalculationType>
Enclosing class:
IslamicCalendar

public static enum IslamicCalendar.CalculationType extends Enum<IslamicCalendar.CalculationType>
enumeration of available calendar calculation types
Author:
Laura Werner, Alan Liu
Status:
Stable ICU 52.
  • Enum Constant Details

    • ISLAMIC

      public static final IslamicCalendar.CalculationType ISLAMIC
      Religious calendar (astronomical simulation)
      Status:
      Stable ICU 52.
    • 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.
      Status:
      Stable ICU 52.
    • ISLAMIC_UMALQURA

      public static final IslamicCalendar.CalculationType ISLAMIC_UMALQURA
      Umm al-Qura calendar
      Status:
      Stable ICU 52.
    • 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.
      Status:
      Stable ICU 52.
  • Method Details

    • values

      public static IslamicCalendar.CalculationType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IslamicCalendar.CalculationType 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 name
      NullPointerException - if the argument is null