Package net.time4j.calendar.bahai
Enum Class BadiIntercalaryDays
- All Implemented Interfaces:
Serializable
,Comparable<BadiIntercalaryDays>
,java.lang.constant.Constable
,BadiDivision
Represents the intercalary days of the Badi calendar.
- Since:
- 5.3
- Author:
- Meno Hochschild
- See Also:
BadiDivision.comparator()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayName(Locale locale)
Gets the description text dependent on the locale.getMeaning(Locale locale)
Gets the meaning dependent on the locale.static BadiIntercalaryDays
Returns the enum constant of this class with the specified name.static BadiIntercalaryDays[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AYYAM_I_HA
The singleton instance.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getDisplayName
Gets the description text dependent on the locale.
- Parameters:
locale
- language setting- Returns:
- descriptive text for given locale (never
null
)
-
getMeaning
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
)
-