Month enumeration@Deprecated public enum Months extends Enum<Months>
| Enum Constant and Description |
|---|
APR
Deprecated.
|
APRIL
Deprecated.
|
AUG
Deprecated.
|
AUGUST
Deprecated.
|
DEC
Deprecated.
|
DECEMBER
Deprecated.
|
FEB
Deprecated.
|
FEBRUARY
Deprecated.
|
JAN
Deprecated.
|
JANUARY
Deprecated.
|
JUL
Deprecated.
|
JULY
Deprecated.
|
JUN
Deprecated.
|
JUNE
Deprecated.
|
MAR
Deprecated.
|
MARCH
Deprecated.
|
MAY
Deprecated.
|
NOV
Deprecated.
|
NOVEMBER
Deprecated.
|
OCT
Deprecated.
|
OCTOBER
Deprecated.
|
SEP
Deprecated.
|
SEPTEMBER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
calendarConstant()
Deprecated.
|
String |
describe()
Deprecated.
|
static Months |
fromCalendar(int calendarMonth)
Deprecated.
Factory method to create a Months instance from a java calendar month value
|
Month |
month()
Deprecated.
|
static Months |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Months[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Months JAN
public static final Months JANUARY
public static final Months FEB
public static final Months FEBRUARY
public static final Months MAR
public static final Months MARCH
public static final Months APR
public static final Months APRIL
public static final Months MAY
public static final Months JUN
public static final Months JUNE
public static final Months JUL
public static final Months JULY
public static final Months AUG
public static final Months AUGUST
public static final Months SEP
public static final Months SEPTEMBER
public static final Months OCT
public static final Months OCTOBER
public static final Months NOV
public static final Months NOVEMBER
public static final Months DEC
public static final Months DECEMBER
public static Months[] values()
for (Months c : Months.values()) System.out.println(c);
public static Months 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 nullpublic static Months fromCalendar(int calendarMonth)
public int calendarConstant()
public String describe()
public Month month()
Copyright © 2016. All rights reserved.