java.io.Serializable
, java.lang.Comparable<SantanderMonthEnum>
public enum SantanderMonthEnum extends java.lang.Enum<SantanderMonthEnum>
Enum Constant | Description |
---|---|
APRIL |
April
|
AUGUST |
August
|
DEZEMBER |
December
|
FEBRUARY |
February
|
JANUARY |
January
|
JULY |
July
|
JUNE |
June
|
MARCH |
March
|
MAY |
May
|
NOVEMBER |
November
|
OCTOBER |
October
|
SEPTEMBER |
September
|
Modifier and Type | Method | Description |
---|---|---|
int |
getNumber() |
|
static int |
getNumber(java.lang.String shortDescription) |
Return the number of the month of the shortDescription.
|
java.lang.String |
getShortDescription() |
|
static SantanderMonthEnum |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SantanderMonthEnum[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SantanderMonthEnum JANUARY
public static final SantanderMonthEnum FEBRUARY
public static final SantanderMonthEnum MARCH
public static final SantanderMonthEnum APRIL
public static final SantanderMonthEnum MAY
public static final SantanderMonthEnum JUNE
public static final SantanderMonthEnum JULY
public static final SantanderMonthEnum AUGUST
public static final SantanderMonthEnum SEPTEMBER
public static final SantanderMonthEnum OCTOBER
public static final SantanderMonthEnum NOVEMBER
public static final SantanderMonthEnum DEZEMBER
public static SantanderMonthEnum[] values()
for (SantanderMonthEnum c : SantanderMonthEnum.values()) System.out.println(c);
public static SantanderMonthEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static int getNumber(java.lang.String shortDescription)
shortDescription
- the short description as used on the Santander bank web site.public int getNumber()
public java.lang.String getShortDescription()