public enum CalendarMode extends Enum<CalendarMode>
| Enum Constant and Description |
|---|
DECADE
The Calendar displays a decade at a time.
|
MONTH
The Calendar displays a month at a time.
|
YEAR
The Calendar displays a year at a time.
|
| Modifier and Type | Method and Description |
|---|---|
static CalendarMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarMode MONTH
public static final CalendarMode YEAR
public static final CalendarMode DECADE
public static CalendarMode[] values()
for (CalendarMode c : CalendarMode.values()) System.out.println(c);
public static CalendarMode 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 2009-2012 Micro Focus. All Rights Reserved.