|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DayName>
caltool.schedule.DayName
public enum DayName
Class DayName is one of the seven standard days of the week.
Enum Constant Summary | |
---|---|
Friday
One of the seven days of the week |
|
Monday
One of the seven days of the week |
|
Saturday
One of the seven days of the week |
|
Sunday
One of the seven days of the week |
|
Thursday
One of the seven days of the week |
|
Tuesday
One of the seven days of the week |
|
Wednesday
One of the seven days of the week |
Method Summary | |
---|---|
static DayName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DayName[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DayName Sunday
public static final DayName Monday
public static final DayName Tuesday
public static final DayName Wednesday
public static final DayName Thursday
public static final DayName Friday
public static final DayName Saturday
Method Detail |
---|
public static final DayName[] values()
for(DayName c : DayName.values()) System.out.println(c);
public static DayName 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 name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |