|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RecurrenceRule.DayOfWeek>
biweekly.property.RecurrenceRule.DayOfWeek
public static enum RecurrenceRule.DayOfWeek
Represents each of the seven days of the week.
Enum Constant Summary | |
---|---|
FRIDAY
|
|
MONDAY
|
|
SATURDAY
|
|
SUNDAY
|
|
THURSDAY
|
|
TUESDAY
|
|
WEDNESDAY
|
Method Summary | |
---|---|
String |
getAbbr()
Gets the day's abbreviation. |
static RecurrenceRule.DayOfWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RecurrenceRule.DayOfWeek |
valueOfAbbr(String abbr)
Gets a day by its abbreviation. |
static RecurrenceRule.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 |
---|
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 RecurrenceRule.DayOfWeek MONDAY
public static final RecurrenceRule.DayOfWeek TUESDAY
public static final RecurrenceRule.DayOfWeek WEDNESDAY
public static final RecurrenceRule.DayOfWeek THURSDAY
public static final RecurrenceRule.DayOfWeek FRIDAY
public static final RecurrenceRule.DayOfWeek SATURDAY
public static final RecurrenceRule.DayOfWeek SUNDAY
Method Detail |
---|
public static RecurrenceRule.DayOfWeek[] values()
for (RecurrenceRule.DayOfWeek c : RecurrenceRule.DayOfWeek.values()) System.out.println(c);
public static RecurrenceRule.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 String getAbbr()
public static RecurrenceRule.DayOfWeek valueOfAbbr(String abbr)
abbr
- the abbreviation (case-insensitive, e.g. "MO" for Monday)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |