Enum Class BadiIntercalaryDays

java.lang.Object
java.lang.Enum<BadiIntercalaryDays>
net.time4j.calendar.bahai.BadiIntercalaryDays
All Implemented Interfaces:
Serializable, Comparable<BadiIntercalaryDays>, java.lang.constant.Constable, BadiDivision

public enum BadiIntercalaryDays extends Enum<BadiIntercalaryDays> implements BadiDivision

Represents the intercalary days of the Badi calendar.

Since:
5.3
Author:
Meno Hochschild
See Also:
BadiDivision.comparator()
  • Enum Constant Details

  • Method Details

    • values

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

      public static BadiIntercalaryDays valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDisplayName

      public String getDisplayName(Locale locale)

      Gets the description text dependent on the locale.

      Parameters:
      locale - language setting
      Returns:
      descriptive text for given locale (never null)
    • getMeaning

      public String getMeaning(Locale locale)

      Gets the meaning dependent on the locale.

      If a meaning is unavailable then this method will fall back to the transcription given by getDisplayName(Locale).

      Parameters:
      locale - language setting
      Returns:
      meaning for given locale (never null)