public enum Month extends java.lang.Enum<Month> implements com.google.protobuf.ProtocolMessageEnum
Enum representing the 12 months of the year.Protobuf enum
spine.time.Month
Enum Constant and Description |
---|
APRIL
APRIL = 4; |
AUGUST
AUGUST = 8; |
DECEMBER
DECEMBER = 12; |
FEBRUARY
FEBRUARY = 2; |
JANUARY
JANUARY = 1; |
JULY
JULY = 7; |
JUNE
JUNE = 6; |
MARCH
MARCH = 3; |
MAY
MAY = 5; |
MONTH_UNDEFINED
MONTH_UNDEFINED = 0; |
NOVEMBER
NOVEMBER = 11; |
OCTOBER
OCTOBER = 10; |
SEPTEMBER
SEPTEMBER = 9; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
APRIL_VALUE
APRIL = 4; |
static int |
AUGUST_VALUE
AUGUST = 8; |
static int |
DECEMBER_VALUE
DECEMBER = 12; |
static int |
FEBRUARY_VALUE
FEBRUARY = 2; |
static int |
JANUARY_VALUE
JANUARY = 1; |
static int |
JULY_VALUE
JULY = 7; |
static int |
JUNE_VALUE
JUNE = 6; |
static int |
MARCH_VALUE
MARCH = 3; |
static int |
MAY_VALUE
MAY = 5; |
static int |
MONTH_UNDEFINED_VALUE
MONTH_UNDEFINED = 0; |
static int |
NOVEMBER_VALUE
NOVEMBER = 11; |
static int |
OCTOBER_VALUE
OCTOBER = 10; |
static int |
SEPTEMBER_VALUE
SEPTEMBER = 9; |
Modifier and Type | Method and Description |
---|---|
static Month |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Month> |
internalGetValueMap() |
static Month |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Month |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Month |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Month[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Month MONTH_UNDEFINED
MONTH_UNDEFINED = 0;
public static final Month JANUARY
JANUARY = 1;
public static final Month FEBRUARY
FEBRUARY = 2;
public static final Month MARCH
MARCH = 3;
public static final Month APRIL
APRIL = 4;
public static final Month MAY
MAY = 5;
public static final Month JUNE
JUNE = 6;
public static final Month JULY
JULY = 7;
public static final Month AUGUST
AUGUST = 8;
public static final Month SEPTEMBER
SEPTEMBER = 9;
public static final Month OCTOBER
OCTOBER = 10;
public static final Month NOVEMBER
NOVEMBER = 11;
public static final Month DECEMBER
DECEMBER = 12;
public static final Month UNRECOGNIZED
public static final int MONTH_UNDEFINED_VALUE
MONTH_UNDEFINED = 0;
public static final int JANUARY_VALUE
JANUARY = 1;
public static final int FEBRUARY_VALUE
FEBRUARY = 2;
public static final int MARCH_VALUE
MARCH = 3;
public static final int APRIL_VALUE
APRIL = 4;
public static final int MAY_VALUE
MAY = 5;
public static final int JUNE_VALUE
JUNE = 6;
public static final int JULY_VALUE
JULY = 7;
public static final int AUGUST_VALUE
AUGUST = 8;
public static final int SEPTEMBER_VALUE
SEPTEMBER = 9;
public static final int OCTOBER_VALUE
OCTOBER = 10;
public static final int NOVEMBER_VALUE
NOVEMBER = 11;
public static final int DECEMBER_VALUE
DECEMBER = 12;
public static Month[] values()
for (Month c : Month.values()) System.out.println(c);
public static Month 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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Month valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Month forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Month> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Month valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)