Package net.fortuna.ical4j.model
Enum WeekDay.Day
- java.lang.Object
-
- java.lang.Enum<WeekDay.Day>
-
- net.fortuna.ical4j.model.WeekDay.Day
-
- All Implemented Interfaces:
Serializable
,Comparable<WeekDay.Day>
- Enclosing class:
- WeekDay
public static enum WeekDay.Day extends Enum<WeekDay.Day>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WeekDay.Day
valueOf(String name)
Returns the enum constant of this type with the specified name.static WeekDay.Day[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SU
public static final WeekDay.Day SU
-
MO
public static final WeekDay.Day MO
-
TU
public static final WeekDay.Day TU
-
WE
public static final WeekDay.Day WE
-
TH
public static final WeekDay.Day TH
-
FR
public static final WeekDay.Day FR
-
SA
public static final WeekDay.Day SA
-
-
Method Detail
-
values
public static WeekDay.Day[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WeekDay.Day c : WeekDay.Day.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WeekDay.Day valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-