public enum DayOfWeekType extends java.lang.Enum<DayOfWeekType>
Enum Constant and Description |
---|
AnyDay
Indicates any day.
|
Friday
Indicates Friday.
|
Monday
Indicates Monday.
|
Saturday
Indicates Saturday.
|
Sunday
Indicates Sunday.
|
Thursday
Indicates Thursday.
|
Tuesday
Indicates Tuesday.
|
Wednesday
Indicates Wednesday.
|
Weekend
Indicates a weekend day.
|
Workday
Indicates a workday.
|
Modifier and Type | Method and Description |
---|---|
static DayOfWeekType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeekType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOfWeekType AnyDay
public static final DayOfWeekType Workday
public static final DayOfWeekType Weekend
public static final DayOfWeekType Sunday
public static final DayOfWeekType Monday
public static final DayOfWeekType Tuesday
public static final DayOfWeekType Wednesday
public static final DayOfWeekType Thursday
public static final DayOfWeekType Friday
public static final DayOfWeekType Saturday
public static DayOfWeekType[] values()
for (DayOfWeekType c : DayOfWeekType.values()) System.out.println(c);
public static DayOfWeekType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null