DayOfWeekpublic enum Weekdays extends Enum<Weekdays>
| Enum Constant and Description |
|---|
FRIDAY
Deprecated.
|
MONDAY
Deprecated.
|
SATURDAY
Deprecated.
|
SUNDAY
Deprecated.
|
THURSDAY
Deprecated.
|
TUESDAY
Deprecated.
|
WEDNESDAY
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
describe()
Deprecated.
|
int |
getAsCalendarConstant()
Deprecated.
|
DayOfWeek |
getAsDayOfWeek()
Deprecated.
|
static Weekdays |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Weekdays[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Weekdays MONDAY
public static final Weekdays TUESDAY
public static final Weekdays WEDNESDAY
public static final Weekdays THURSDAY
public static final Weekdays FRIDAY
public static final Weekdays SATURDAY
public static final Weekdays SUNDAY
public static Weekdays[] values()
for (Weekdays c : Weekdays.values()) System.out.println(c);
public static Weekdays 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 getAsCalendarConstant()
public String describe()
public DayOfWeek getAsDayOfWeek()
Copyright © 2016. All rights reserved.