public enum Months extends Enum<Months>
| Enum Constant and Description |
|---|
APRIL |
AUGUST |
DECEMBER |
FEBRUARY |
JANUARY |
JULY |
JUNE |
MARCH |
MAY |
NOVEMBER |
OCTOBER |
SEPTEMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbr() |
static Months |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Months[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Months JANUARY
public static final Months FEBRUARY
public static final Months MARCH
public static final Months APRIL
public static final Months MAY
public static final Months JUNE
public static final Months JULY
public static final Months AUGUST
public static final Months SEPTEMBER
public static final Months OCTOBER
public static final Months NOVEMBER
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 String getAbbr()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.