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