public enum Monthnames extends Enum<Monthnames>
Java class for monthnames.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="monthnames"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Janurary"/> <enumeration value="Feburary"/> <enumeration value="March"/> <enumeration value="April"/> <enumeration value="May"/> <enumeration value="June"/> <enumeration value="July"/> <enumeration value="August"/> <enumeration value="September"/> <enumeration value="October"/> <enumeration value="November"/> <enumeration value="December"/> </restriction> </simpleType>
Enum Constant and Description |
---|
APRIL |
AUGUST |
DECEMBER |
FEBURARY |
JANURARY |
JULY |
JUNE |
MARCH |
MAY |
NOVEMBER |
OCTOBER |
SEPTEMBER |
Modifier and Type | Method and Description |
---|---|
static Monthnames |
fromValue(String v) |
String |
value() |
static Monthnames |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Monthnames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Monthnames JANURARY
public static final Monthnames FEBURARY
public static final Monthnames MARCH
public static final Monthnames APRIL
public static final Monthnames MAY
public static final Monthnames JUNE
public static final Monthnames JULY
public static final Monthnames AUGUST
public static final Monthnames SEPTEMBER
public static final Monthnames OCTOBER
public static final Monthnames NOVEMBER
public static final Monthnames DECEMBER
public static Monthnames[] values()
for (Monthnames c : Monthnames.values()) System.out.println(c);
public static Monthnames 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 value()
public static Monthnames fromValue(String v)
Copyright © 2008–2017 MIL-OSS. All rights reserved.