public enum BadiEra extends Enum<BadiEra> implements CalendarEra
The Badi calendar only supports one single era which is related to the gregorian date of 21st of March in year 1844.
| Enum Constant and Description |
|---|
BAHAI
Singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(Locale locale,
TextWidth width)
Gets the description text dependent on the locale.
|
static BadiEra |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BadiEra[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final BadiEra BAHAI
public static BadiEra[] values()
for (BadiEra c : BadiEra.values()) System.out.println(c);
public static BadiEra valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2021. All rights reserved.