Package com.oracle.bmc.database.model
Enum Month.Name
- java.lang.Object
-
- java.lang.Enum<Month.Name>
-
- com.oracle.bmc.database.model.Month.Name
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Month.Name>
- Enclosing class:
- Month
public static enum Month.Name extends Enum<Month.Name> implements BmcEnum
Name of the month of the year.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Month.Name
create(String key)
String
getValue()
static Month.Name
valueOf(String name)
Returns the enum constant of this type with the specified name.static Month.Name[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
January
public static final Month.Name January
-
February
public static final Month.Name February
-
March
public static final Month.Name March
-
April
public static final Month.Name April
-
May
public static final Month.Name May
-
June
public static final Month.Name June
-
July
public static final Month.Name July
-
August
public static final Month.Name August
-
September
public static final Month.Name September
-
October
public static final Month.Name October
-
November
public static final Month.Name November
-
December
public static final Month.Name December
-
UnknownEnumValue
public static final Month.Name UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static Month.Name[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Month.Name c : Month.Name.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Month.Name valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static Month.Name create(String key)
-
-