public enum DayOfWeekInMonth extends Enum<DayOfWeekInMonth>
Modifier and Type | Method and Description |
---|---|
static DayOfWeekInMonth |
get(String value) |
static DayOfWeekInMonth[] |
getArray(String[] values) |
String |
toString() |
String |
value() |
static DayOfWeekInMonth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeekInMonth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOfWeekInMonth FIRST
public static final DayOfWeekInMonth SECOND
public static final DayOfWeekInMonth THIRD
public static final DayOfWeekInMonth FOURTH
public static final DayOfWeekInMonth LAST
public static DayOfWeekInMonth[] values()
for (DayOfWeekInMonth c : DayOfWeekInMonth.values()) System.out.println(c);
public static DayOfWeekInMonth 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 String toString()
toString
in class Enum<DayOfWeekInMonth>
public static DayOfWeekInMonth get(String value)
public static DayOfWeekInMonth[] getArray(String[] values)
Copyright © 2016 ECG. All rights reserved.