public enum DateMode extends Enum<DateMode>
| Enum Constant and Description |
|---|
ANY_WITH_WEEKEND |
ANY_WITHOUT_WEEKEND |
FUTURE_WITH_WEEKEND |
FUTURE_WITHOUT_WEEKEND |
PAST_WITH_WEEKEND |
PAST_WITHOUT_WEEKEND |
| Modifier and Type | Method and Description |
|---|---|
static DateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateMode PAST_WITH_WEEKEND
public static final DateMode PAST_WITHOUT_WEEKEND
public static final DateMode FUTURE_WITH_WEEKEND
public static final DateMode FUTURE_WITHOUT_WEEKEND
public static final DateMode ANY_WITH_WEEKEND
public static final DateMode ANY_WITHOUT_WEEKEND
public static DateMode[] values()
for (DateMode c : DateMode.values()) System.out.println(c);
public static DateMode 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 nullCopyright © 2012 Woodstock Tecnologia. All Rights Reserved.