public enum DayEnum extends Enum<DayEnum>
Java class for DayEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DayEnum">
<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 DayEnum |
fromValue(String v) |
String |
value() |
static DayEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayEnum MONDAY
public static final DayEnum TUESDAY
public static final DayEnum WEDNESDAY
public static final DayEnum THURSDAY
public static final DayEnum FRIDAY
public static final DayEnum SATURDAY
public static final DayEnum SUNDAY
public static DayEnum[] values()
for (DayEnum c : DayEnum.values()) System.out.println(c);
public static DayEnum 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()
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.