public enum FrenchRepublicanMonth extends Enum<FrenchRepublicanMonth>
Represents the months used in the French revolutionary calendar.
| Enum Constant and Description |
|---|
BRUMAIRE
The second month starting in October.
|
FLOREAL
The eight month starting in April (flower month).
|
FRIMAIRE
The third month starting in November (month of frost).
|
FRUCTIDOR
The twelvth month starting in August.
|
GERMINAL
The seventh month starting in March.
|
MESSIDOR
The tenth month starting in June.
|
NIVOSE
The fourth month starting in December (snowy month).
|
PLUVIOSE
The fifth month starting in January (rainy month).
|
PRAIRIAL
The ninth month starting in May.
|
THERMIDOR
The eleventh month starting in July.
|
VENDEMIAIRE
The first month starting at autumnal equinox in September.
|
VENTOSE
The sixth month starting in February (windy month).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDayNameInFrench(int dayOfMonth)
Obtains the French day name in this republican month.
|
String |
getDisplayName(Locale locale)
Gets the description text dependent on the locale.
|
String |
getDisplayName(Locale locale,
TextWidth width,
OutputContext oc)
Gets the description text dependent on the locale.
|
int |
getValue()
Gets the corresponding numerical value.
|
static FrenchRepublicanMonth |
valueOf(int month)
Gets the enum-constant which corresponds to the given numerical value.
|
static FrenchRepublicanMonth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrenchRepublicanMonth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrenchRepublicanMonth VENDEMIAIRE
The first month starting at autumnal equinox in September.
public static final FrenchRepublicanMonth BRUMAIRE
The second month starting in October.
public static final FrenchRepublicanMonth FRIMAIRE
The third month starting in November (month of frost).
public static final FrenchRepublicanMonth NIVOSE
The fourth month starting in December (snowy month).
public static final FrenchRepublicanMonth PLUVIOSE
The fifth month starting in January (rainy month).
public static final FrenchRepublicanMonth VENTOSE
The sixth month starting in February (windy month).
public static final FrenchRepublicanMonth GERMINAL
The seventh month starting in March.
public static final FrenchRepublicanMonth FLOREAL
The eight month starting in April (flower month).
public static final FrenchRepublicanMonth PRAIRIAL
The ninth month starting in May.
public static final FrenchRepublicanMonth MESSIDOR
The tenth month starting in June.
public static final FrenchRepublicanMonth THERMIDOR
The eleventh month starting in July.
public static final FrenchRepublicanMonth FRUCTIDOR
The twelvth month starting in August.
public static FrenchRepublicanMonth[] values()
for (FrenchRepublicanMonth c : FrenchRepublicanMonth.values()) System.out.println(c);
public static FrenchRepublicanMonth 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 nullpublic static FrenchRepublicanMonth valueOf(int month)
Gets the enum-constant which corresponds to the given numerical value.
month - french republican month in the range [1-12]IllegalArgumentException - if given argument is out of rangepublic int getValue()
Gets the corresponding numerical value.
public String getDisplayName(Locale locale)
Gets the description text dependent on the locale.
The usage of the French language is strongly recommended. Equivalent to
getDisplayName(locale, TextWidth.WIDE, OutputContext.FORMAT).
locale - language settingnull)Locale.FRENCHpublic String getDisplayName(Locale locale, TextWidth width, OutputContext oc)
Gets the description text dependent on the locale.
The usage of the French language is strongly recommended.
locale - language settingwidth - text widthoc - output contextnull)Locale.FRENCHpublic String getDayNameInFrench(int dayOfMonth)
Obtains the French day name in this republican month.
dayOfMonth - the day of month in range 1-30Copyright © 2014–2021. All rights reserved.