|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DayOfWeek>
com.teraspaces.qwframework.DayOfWeek
public enum DayOfWeek
Specifies the day of the week.
| Enum Constant Summary | |
|---|---|
Friday
Indicates Friday. |
|
Monday
Indicates Monday. |
|
Saturday
Indicates Saturday. |
|
Sunday
Indicates Sunday. |
|
Thursday
Indicates Thursday. |
|
Tuesday
Indicates Tuesday. |
|
Wednesday
Indicates Wednesday. |
|
| Method Summary | |
|---|---|
static DayOfWeek |
fromInteger(int value)
From the ordinal value. |
static DayOfWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DayOfWeek Sunday
public static final DayOfWeek Monday
public static final DayOfWeek Tuesday
public static final DayOfWeek Wednesday
public static final DayOfWeek Thursday
public static final DayOfWeek Friday
public static final DayOfWeek Saturday
| Method Detail |
|---|
public static DayOfWeek[] values()
for (DayOfWeek c : DayOfWeek.values()) System.out.println(c);
public static DayOfWeek valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static DayOfWeek fromInteger(int value)
value - the value
|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||