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