public enum DayOfWeekType extends Enum<DayOfWeekType>
Java class for DayOfWeekType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DayOfWeekType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Sunday"/>
<enumeration value="Monday"/>
<enumeration value="Tuesday"/>
<enumeration value="Wednesday"/>
<enumeration value="Thursday"/>
<enumeration value="Friday"/>
<enumeration value="Saturday"/>
<enumeration value="Day"/>
<enumeration value="Weekday"/>
<enumeration value="WeekendDay"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DAY |
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
WEEKDAY |
WEEKEND_DAY |
| Modifier and Type | Method and Description |
|---|---|
static DayOfWeekType |
fromValue(String v) |
String |
value() |
static DayOfWeekType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeekType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOfWeekType SUNDAY
public static final DayOfWeekType MONDAY
public static final DayOfWeekType TUESDAY
public static final DayOfWeekType WEDNESDAY
public static final DayOfWeekType THURSDAY
public static final DayOfWeekType FRIDAY
public static final DayOfWeekType SATURDAY
public static final DayOfWeekType DAY
public static final DayOfWeekType WEEKDAY
public static final DayOfWeekType WEEKEND_DAY
public static DayOfWeekType[] values()
for (DayOfWeekType c : DayOfWeekType.values()) System.out.println(c);
public static DayOfWeekType 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 value()
public static DayOfWeekType fromValue(String v)
Copyright © 2014 Jasig. All Rights Reserved.