public static enum FlexDateTimeUtils.Month extends java.lang.Enum<FlexDateTimeUtils.Month>
Enum Constant and Description |
---|
APRIL |
AUGUST |
DECEMBER |
FEBRUARY |
JANUARY |
JULY |
JUNE |
MARCH |
MAY |
NOVEMBER |
OCTOBER |
SEPTEMBER |
Modifier and Type | Method and Description |
---|---|
static FlexDateTimeUtils.Month |
fromCalendarMonth(int calMonth) |
int |
toCalendarMonth() |
static FlexDateTimeUtils.Month |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlexDateTimeUtils.Month[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexDateTimeUtils.Month JANUARY
public static final FlexDateTimeUtils.Month FEBRUARY
public static final FlexDateTimeUtils.Month MARCH
public static final FlexDateTimeUtils.Month APRIL
public static final FlexDateTimeUtils.Month MAY
public static final FlexDateTimeUtils.Month JUNE
public static final FlexDateTimeUtils.Month JULY
public static final FlexDateTimeUtils.Month AUGUST
public static final FlexDateTimeUtils.Month SEPTEMBER
public static final FlexDateTimeUtils.Month OCTOBER
public static final FlexDateTimeUtils.Month NOVEMBER
public static final FlexDateTimeUtils.Month DECEMBER
public static FlexDateTimeUtils.Month[] values()
for (FlexDateTimeUtils.Month c : FlexDateTimeUtils.Month.values()) System.out.println(c);
public static FlexDateTimeUtils.Month valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int toCalendarMonth()
public static FlexDateTimeUtils.Month fromCalendarMonth(int calMonth)