public enum Sansculottides extends Enum<Sansculottides>
Represents complementary days of the French revolutionary calendar.
| Enum Constant and Description |
|---|
COMPLEMENTARY_DAY_1
The first complementary day, also called "jour de la vertu".
|
COMPLEMENTARY_DAY_2
The second complementary day, also called "jour du génie".
|
COMPLEMENTARY_DAY_3
The third complementary day, also called "jour du travail".
|
COMPLEMENTARY_DAY_4
The fourth complementary day, also called "jour de l'opinion".
|
COMPLEMENTARY_DAY_5
The fifth complementary day, also called "jour des récompenses".
|
LEAP_DAY
The sixth complementary day (only in leap years), also called "jour de la révolution".
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(Locale locale,
OutputContext oc)
Gets the description text dependent on the locale.
|
int |
getValue()
Gets the corresponding numerical value.
|
static Sansculottides |
valueOf(int num)
Gets the enum-constant which corresponds to the given numerical value.
|
static Sansculottides |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sansculottides[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sansculottides COMPLEMENTARY_DAY_1
The first complementary day, also called "jour de la vertu".
public static final Sansculottides COMPLEMENTARY_DAY_2
The second complementary day, also called "jour du génie".
public static final Sansculottides COMPLEMENTARY_DAY_3
The third complementary day, also called "jour du travail".
public static final Sansculottides COMPLEMENTARY_DAY_4
The fourth complementary day, also called "jour de l'opinion".
public static final Sansculottides COMPLEMENTARY_DAY_5
The fifth complementary day, also called "jour des récompenses".
public static final Sansculottides LEAP_DAY
The sixth complementary day (only in leap years), also called "jour de la révolution".
public static Sansculottides[] values()
for (Sansculottides c : Sansculottides.values()) System.out.println(c);
public static Sansculottides 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 Sansculottides valueOf(int num)
Gets the enum-constant which corresponds to the given numerical value.
num - number of sansculottide day in the range [1-6]IllegalArgumentException - if given argument is out of rangepublic int getValue()
Gets the corresponding numerical value.
public String getDisplayName(Locale locale, OutputContext oc)
Gets the description text dependent on the locale.
The French language is the best choice for most applications. If chosen then the output context will determine the capitalization.
locale - language settingoc - output contextnull)Locale.FRENCHCopyright © 2014–2021. All rights reserved.