public enum DayOfDecade extends Enum<DayOfDecade>
Represents the days of decade used in the French revolutionary calendar.
| Enum Constant and Description |
|---|
DECADI
The tenth day of decade.
|
DUODI
The second day of decade.
|
NONIDI
The ninth day of decade.
|
OCTIDI
The eigth day of decade.
|
PRIMIDI
The first day of decade.
|
QUARTIDI
The fourth day of decade.
|
QUINTIDI
The fifth day of decade.
|
SEPTIDI
The seventh day of decade.
|
SEXTIDI
The sixth day of decade.
|
TRIDI
The third day of decade.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(Locale locale)
Equivalent to
getDisplayName(locale, TextWidth.WIDE, OutputContext.FORMAT). |
String |
getDisplayName(Locale locale,
TextWidth width,
OutputContext oc)
Gets the description text dependent on the locale.
|
int |
getValue()
Gets the corresponding numerical value.
|
static DayOfDecade |
valueOf(int dayOfDecade)
Gets the enum-constant which corresponds to the given numerical value.
|
static DayOfDecade |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayOfDecade[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOfDecade PRIMIDI
The first day of decade.
public static final DayOfDecade DUODI
The second day of decade.
public static final DayOfDecade TRIDI
The third day of decade.
public static final DayOfDecade QUARTIDI
The fourth day of decade.
public static final DayOfDecade QUINTIDI
The fifth day of decade.
public static final DayOfDecade SEXTIDI
The sixth day of decade.
public static final DayOfDecade SEPTIDI
The seventh day of decade.
public static final DayOfDecade OCTIDI
The eigth day of decade.
public static final DayOfDecade NONIDI
The ninth day of decade.
public static final DayOfDecade DECADI
The tenth day of decade.
public static DayOfDecade[] values()
for (DayOfDecade c : DayOfDecade.values()) System.out.println(c);
public static DayOfDecade 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 DayOfDecade valueOf(int dayOfDecade)
Gets the enum-constant which corresponds to the given numerical value.
dayOfDecade - french revolutionary day of decade in the range [1-10]IllegalArgumentException - if given argument is out of rangepublic int getValue()
Gets the corresponding numerical value.
public String getDisplayName(Locale locale)
Equivalent to getDisplayName(locale, TextWidth.WIDE, OutputContext.FORMAT).
The usage of the French language is strongly recommended.
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.FRENCHCopyright © 2014–2021. All rights reserved.