org.homeunix.thecave.buddi.i18n.keys
Enum MonthKeys
java.lang.Object
java.lang.Enum<MonthKeys>
org.homeunix.thecave.buddi.i18n.keys.MonthKeys
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MonthKeys>
public enum MonthKeys
- extends java.lang.Enum<MonthKeys>
This class defines all months.
- Author:
- wyatt
|
Method Summary |
static MonthKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MonthKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MONTH_JANUARY
public static final MonthKeys MONTH_JANUARY
MONTH_FEBRUARY
public static final MonthKeys MONTH_FEBRUARY
MONTH_MARCH
public static final MonthKeys MONTH_MARCH
MONTH_APRIL
public static final MonthKeys MONTH_APRIL
MONTH_MAY
public static final MonthKeys MONTH_MAY
MONTH_JUNE
public static final MonthKeys MONTH_JUNE
MONTH_JULY
public static final MonthKeys MONTH_JULY
MONTH_AUGUST
public static final MonthKeys MONTH_AUGUST
MONTH_SEPTEMBER
public static final MonthKeys MONTH_SEPTEMBER
MONTH_OCTOBER
public static final MonthKeys MONTH_OCTOBER
MONTH_NOVEMBER
public static final MonthKeys MONTH_NOVEMBER
MONTH_DECEMBER
public static final MonthKeys MONTH_DECEMBER
values
public static final MonthKeys[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(MonthKeys c : MonthKeys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MonthKeys valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name