public static enum Recurrence.DayOfWeek extends Enum<Recurrence.DayOfWeek>
Enum Constant and Description |
---|
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
Modifier and Type | Method and Description |
---|---|
String |
getAbbr()
Gets the day's abbreviation.
|
int |
getCalendarConstant() |
static Recurrence.DayOfWeek |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Recurrence.DayOfWeek |
valueOfAbbr(String abbr)
Gets a day by its abbreviation.
|
static Recurrence.DayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Recurrence.DayOfWeek MONDAY
public static final Recurrence.DayOfWeek TUESDAY
public static final Recurrence.DayOfWeek WEDNESDAY
public static final Recurrence.DayOfWeek THURSDAY
public static final Recurrence.DayOfWeek FRIDAY
public static final Recurrence.DayOfWeek SATURDAY
public static final Recurrence.DayOfWeek SUNDAY
public static Recurrence.DayOfWeek[] values()
for (Recurrence.DayOfWeek c : Recurrence.DayOfWeek.values()) System.out.println(c);
public static Recurrence.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 nameNullPointerException
- if the argument is nullpublic String getAbbr()
public int getCalendarConstant()
public static Recurrence.DayOfWeek valueOfAbbr(String abbr)
abbr
- the abbreviation (case-insensitive, e.g. "MO" for Monday)Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.