|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WeekDay>
pulling.availability_predection.WeekDay
public enum WeekDay
It the weekday enumeration used in the file created by the AvailabilityLogger
Enum Constant Summary | |
---|---|
FRIDAY
Friday |
|
MONDAY
Monday |
|
SATURDAY
Saturday |
|
SUNDAY
Sunday |
|
THURSDAY
Thursday |
|
TUESDAY
Tuesday |
|
WEDNESDAY
Wednesday |
Method Summary | |
---|---|
static WeekDay |
getWeekDay(java.util.Calendar calendar)
Simple Mapping between java.util.Calendar and WeekDay enumaration |
static WeekDay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WeekDay[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 WeekDay MONDAY
public static final WeekDay TUESDAY
public static final WeekDay WEDNESDAY
public static final WeekDay THURSDAY
public static final WeekDay FRIDAY
public static final WeekDay SATURDAY
public static final WeekDay SUNDAY
Method Detail |
---|
public static final WeekDay[] values()
for(WeekDay c : WeekDay.values()) System.out.println(c);
public static WeekDay 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 namepublic static WeekDay getWeekDay(java.util.Calendar calendar)
calendar
- an instance of type java.util.Calendar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |