Package org.openmuc.jdlms.datatypes
Enum CosemDateTime.ClockStatus
- java.lang.Object
-
- java.lang.Enum<CosemDateTime.ClockStatus>
-
- org.openmuc.jdlms.datatypes.CosemDateTime.ClockStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CosemDateTime.ClockStatus>
- Enclosing class:
- CosemDateTime
public static enum CosemDateTime.ClockStatus extends java.lang.Enum<CosemDateTime.ClockStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYLIGHT_SAVING_ACTIVE
DIFFERENT_CLOCK_BASE
DUBTFUL_VALUE
INVALID_CLOCK_STATUS
INVALID_VALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<CosemDateTime.ClockStatus>
clockStatusFrom(byte bitString)
static CosemDateTime.ClockStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CosemDateTime.ClockStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_VALUE
public static final CosemDateTime.ClockStatus INVALID_VALUE
-
DUBTFUL_VALUE
public static final CosemDateTime.ClockStatus DUBTFUL_VALUE
-
DIFFERENT_CLOCK_BASE
public static final CosemDateTime.ClockStatus DIFFERENT_CLOCK_BASE
-
INVALID_CLOCK_STATUS
public static final CosemDateTime.ClockStatus INVALID_CLOCK_STATUS
-
DAYLIGHT_SAVING_ACTIVE
public static final CosemDateTime.ClockStatus DAYLIGHT_SAVING_ACTIVE
-
-
Method Detail
-
values
public static CosemDateTime.ClockStatus[] 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 (CosemDateTime.ClockStatus c : CosemDateTime.ClockStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CosemDateTime.ClockStatus 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
-
clockStatusFrom
public static java.util.Set<CosemDateTime.ClockStatus> clockStatusFrom(byte bitString)
-
-