public static enum Month.Name extends Enum<Month.Name> implements BmcEnum
Name of the month of the year.
Enum Constant and Description |
---|
April |
August |
December |
February |
January |
July |
June |
March |
May |
November |
October |
September |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and 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.
|
public static final Month.Name January
public static final Month.Name February
public static final Month.Name March
public static final Month.Name April
public static final Month.Name May
public static final Month.Name June
public static final Month.Name July
public static final Month.Name August
public static final Month.Name September
public static final Month.Name October
public static final Month.Name November
public static final Month.Name December
public static final Month.Name UnknownEnumValue
public static Month.Name[] values()
for (Month.Name c : Month.Name.values()) System.out.println(c);
public static Month.Name 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 static Month.Name create(String key)
Copyright © 2016–2024. All rights reserved.