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