|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DayOfTheWeek>
microsoft.exchange.webservices.data.DayOfTheWeek
public enum DayOfTheWeek
Specifies the day of the week. For the standard days of the week (Sunday, Monday...) the DayOfTheWeek enum value is the same as the System.DayOfWeek enum type. These values can be safely cast between the two enum types. The special days of the week (Day, Weekday and WeekendDay) are used for monthly and yearly recurrences and cannot be cast to System.DayOfWeek values.
Enum Constant Summary | |
---|---|
Day
The Day. |
|
Friday
The Friday. |
|
Monday
The Monday. |
|
Saturday
The Saturday. |
|
Sunday
The Sunday. |
|
Thursday
The Thursday. |
|
Tuesday
The Tuesday. |
|
Wednesday
The Wednesday. |
|
Weekday
The Weekday. |
|
WeekendDay
The Weekend day. |
Method Summary | |
---|---|
static DayOfTheWeek |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DayOfTheWeek[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 DayOfTheWeek Sunday
public static final DayOfTheWeek Monday
public static final DayOfTheWeek Tuesday
public static final DayOfTheWeek Wednesday
public static final DayOfTheWeek Thursday
public static final DayOfTheWeek Friday
public static final DayOfTheWeek Saturday
public static final DayOfTheWeek Day
public static final DayOfTheWeek Weekday
public static final DayOfTheWeek WeekendDay
Method Detail |
---|
public static DayOfTheWeek[] values()
for (DayOfTheWeek c : DayOfTheWeek.values()) System.out.println(c);
public static DayOfTheWeek 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
java.lang.NullPointerException
- if the argument is null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |