public enum LocalizedHolidayType extends Enum<LocalizedHolidayType> implements HolidayType
| Enum Constant and Description |
|---|
OFFICIAL_HOLIDAY |
UNOFFICIAL_HOLIDAY |
| Modifier and Type | Method and Description |
|---|---|
static LocalizedHolidayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalizedHolidayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisOfficialHolidaypublic static final LocalizedHolidayType OFFICIAL_HOLIDAY
public static final LocalizedHolidayType UNOFFICIAL_HOLIDAY
public static LocalizedHolidayType[] values()
for (LocalizedHolidayType c : LocalizedHolidayType.values()) System.out.println(c);
public static LocalizedHolidayType 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 © 18.01.2010–2015. All rights reserved.