public enum FrenchRepublicanEra extends Enum<FrenchRepublicanEra> implements CalendarEra
The French revolutionary calendar only supports one single era which is related to the proclamation of the French republic in year 1792.
| Enum Constant and Description |
|---|
REPUBLICAN
Singleton instance (starting 22nd September 1792 as year one).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(Locale locale,
TextWidth width)
Gets the description text dependent on the locale.
|
static FrenchRepublicanEra |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrenchRepublicanEra[] |
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 FrenchRepublicanEra REPUBLICAN
public static FrenchRepublicanEra[] values()
for (FrenchRepublicanEra c : FrenchRepublicanEra.values()) System.out.println(c);
public static FrenchRepublicanEra 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.