Package org.openmuc.jdlms.datatypes
Enum CosemDate.Month
- java.lang.Object
-
- java.lang.Enum<CosemDate.Month>
-
- org.openmuc.jdlms.datatypes.CosemDate.Month
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CosemDate.Month>
- Enclosing class:
- CosemDate
public static enum CosemDate.Month extends java.lang.Enum<CosemDate.Month>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CosemDate.Month
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CosemDate.Month[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JANUARY
public static final CosemDate.Month JANUARY
-
FEBRUARY
public static final CosemDate.Month FEBRUARY
-
MARCH
public static final CosemDate.Month MARCH
-
APRIL
public static final CosemDate.Month APRIL
-
MAY
public static final CosemDate.Month MAY
-
JUNE
public static final CosemDate.Month JUNE
-
JULY
public static final CosemDate.Month JULY
-
AUGUST
public static final CosemDate.Month AUGUST
-
SEPTEMBER
public static final CosemDate.Month SEPTEMBER
-
OCTOBER
public static final CosemDate.Month OCTOBER
-
NOVEMBER
public static final CosemDate.Month NOVEMBER
-
DECEMBER
public static final CosemDate.Month DECEMBER
-
-
Method Detail
-
values
public static CosemDate.Month[] 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 (CosemDate.Month c : CosemDate.Month.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CosemDate.Month valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-