Package org.duracloud.common.util
Enum CalendarUtil.DAY_OF_WEEK
- java.lang.Object
-
- java.lang.Enum<CalendarUtil.DAY_OF_WEEK>
-
- org.duracloud.common.util.CalendarUtil.DAY_OF_WEEK
-
- All Implemented Interfaces:
Serializable,Comparable<CalendarUtil.DAY_OF_WEEK>
- Enclosing class:
- CalendarUtil
public static enum CalendarUtil.DAY_OF_WEEK extends Enum<CalendarUtil.DAY_OF_WEEK>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CalendarUtil.DAY_OF_WEEKvalueOf(String name)Returns the enum constant of this type with the specified name.static CalendarUtil.DAY_OF_WEEK[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUN
public static final CalendarUtil.DAY_OF_WEEK SUN
-
MON
public static final CalendarUtil.DAY_OF_WEEK MON
-
TUE
public static final CalendarUtil.DAY_OF_WEEK TUE
-
WED
public static final CalendarUtil.DAY_OF_WEEK WED
-
THU
public static final CalendarUtil.DAY_OF_WEEK THU
-
FRI
public static final CalendarUtil.DAY_OF_WEEK FRI
-
SAT
public static final CalendarUtil.DAY_OF_WEEK SAT
-
-
Method Detail
-
values
public static CalendarUtil.DAY_OF_WEEK[] 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 (CalendarUtil.DAY_OF_WEEK c : CalendarUtil.DAY_OF_WEEK.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalendarUtil.DAY_OF_WEEK 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
-
-