|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WeekOfMonth.Weeks>
org.oddjob.schedules.units.WeekOfMonth.Weeks
public static enum WeekOfMonth.Weeks
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.oddjob.schedules.units.WeekOfMonth |
---|
WeekOfMonth.Conversions, WeekOfMonth.Number, WeekOfMonth.Weeks |
Enum Constant Summary | |
---|---|
FIFTH
Fifth week of the month. |
|
FIRST
First week of the month. |
|
FOURTH
Fourth week of the month. |
|
LAST
Last week of the month. |
|
PENULTIMATE
The Week before the last week of the month. |
|
SECOND
Second week of the month. |
|
THIRD
Third week of the month. |
Method Summary | |
---|---|
static WeekOfMonth.Weeks |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WeekOfMonth.Weeks[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.oddjob.schedules.units.WeekOfMonth |
---|
getWeekNumber |
Enum Constant Detail |
---|
public static final WeekOfMonth.Weeks FIRST
public static final WeekOfMonth.Weeks SECOND
public static final WeekOfMonth.Weeks THIRD
public static final WeekOfMonth.Weeks FOURTH
public static final WeekOfMonth.Weeks FIFTH
public static final WeekOfMonth.Weeks LAST
public static final WeekOfMonth.Weeks PENULTIMATE
Method Detail |
---|
public static WeekOfMonth.Weeks[] values()
for (WeekOfMonth.Weeks c : WeekOfMonth.Weeks.values()) System.out.println(c);
public static WeekOfMonth.Weeks valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |