public enum IsoWeekDay extends Enum<IsoWeekDay>
Time
Enum Constant and Description |
---|
FRIDAY
The day of the week is FRIDAY.
|
MONDAY
The day of the week is MONDAY.
|
SATURDAY
The day of the week is SATURDAY.
|
SUNDAY
The day of the week is SUNDAY.
|
THURSDAY
The day of the week is THURSDAY.
|
TUESDAY
The day of the week is TUESDAY.
|
WEDNESDAY
The day of the week is WEDNESDAY.
|
Modifier and Type | Method and Description |
---|---|
static IsoWeekDay |
getIsoWeekDayByValue(int value)
Returns a ISO week day item by the passed value.
|
int |
value()
Returns the ISO day of the week.
|
static IsoWeekDay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsoWeekDay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsoWeekDay SUNDAY
public static final IsoWeekDay MONDAY
public static final IsoWeekDay TUESDAY
public static final IsoWeekDay WEDNESDAY
public static final IsoWeekDay THURSDAY
public static final IsoWeekDay FRIDAY
public static final IsoWeekDay SATURDAY
public static IsoWeekDay[] values()
for (IsoWeekDay c : IsoWeekDay.values()) System.out.println(c);
public static IsoWeekDay 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 int value()
public static IsoWeekDay getIsoWeekDayByValue(int value)
value
- ISO day of the week with 0 being Sunday and 6 being Saturday