public static enum CosemDateFormat.Field extends java.lang.Enum<CosemDateFormat.Field>
Enum Constant and Description |
---|
CLOCK_STATUS |
DAY_OF_MONTH |
DAY_OF_WEEK |
DEVIATION |
HOUR |
HUNDREDTHS |
MINUTE |
MONTH |
SECOND |
YEAR |
Modifier and Type | Method and Description |
---|---|
static CosemDateFormat.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CosemDateFormat.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CosemDateFormat.Field YEAR
public static final CosemDateFormat.Field MONTH
public static final CosemDateFormat.Field DAY_OF_MONTH
public static final CosemDateFormat.Field DAY_OF_WEEK
public static final CosemDateFormat.Field HOUR
public static final CosemDateFormat.Field MINUTE
public static final CosemDateFormat.Field SECOND
public static final CosemDateFormat.Field HUNDREDTHS
public static final CosemDateFormat.Field DEVIATION
public static final CosemDateFormat.Field CLOCK_STATUS
public static CosemDateFormat.Field[] values()
for (CosemDateFormat.Field c : CosemDateFormat.Field.values()) System.out.println(c);
public static CosemDateFormat.Field 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 null