public enum FrenchRepublicanEra extends java.lang.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 |
|---|---|
java.lang.String |
getDisplayName(java.util.Locale locale,
TextWidth width)
Gets the description text dependent on the locale.
|
int |
getValue()
Deprecated.
|
static FrenchRepublicanEra |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public int getValue()
CalendarEraYields an ordinal number which is scaled such that every era
which contains the ISO-date of UTC-epoch [1972-01-01] will have
the associated value 1.
Attention: This number is neither necessarily unique nor does it imply any chronological order.
getValue in interface CalendarErapublic java.lang.String getDisplayName(java.util.Locale locale,
TextWidth width)
Gets the description text dependent on the locale.
locale - language settingwidth - text widthnull)