public enum CalendarState extends Enum<CalendarState>
| Enum Constant and Description |
|---|
DAY_OF_WEEK |
IN_MONTH |
LEADING |
TITLE |
TODAY |
TRAILING |
WEEK_OF_YEAR |
| Modifier and Type | Method and Description |
|---|---|
static CalendarState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarState TODAY
public static final CalendarState IN_MONTH
public static final CalendarState LEADING
public static final CalendarState TRAILING
public static final CalendarState WEEK_OF_YEAR
public static final CalendarState DAY_OF_WEEK
public static final CalendarState TITLE
public static CalendarState[] values()
for (CalendarState c : CalendarState.values()) System.out.println(c);
public static CalendarState 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 © 2017. All Rights Reserved.