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="firstWeekOfMonth"/>
<enumeration value="secondWeekOfMonth"/>
<enumeration value="thirdWeekOfMonth"/>
<enumeration value="fourthWeekOfMonth"/>
<enumeration value="fifthWeekOfMonth"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FIFTH_WEEK_OF_MONTH |
FIRST_WEEK_OF_MONTH |
FOURTH_WEEK_OF_MONTH |
SECOND_WEEK_OF_MONTH |
THIRD_WEEK_OF_MONTH |
| 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_WEEK_OF_MONTH
public static final WeekOfMonthEnum SECOND_WEEK_OF_MONTH
public static final WeekOfMonthEnum THIRD_WEEK_OF_MONTH
public static final WeekOfMonthEnum FOURTH_WEEK_OF_MONTH
public static final WeekOfMonthEnum FIFTH_WEEK_OF_MONTH
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 © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.