public static enum CosemDateFormat.Field extends java.lang.Enum<CosemDateFormat.Field>
Enum Constant and Description |
---|
CLOCK_STATUS
Set into
CosemDateTime.ClockStatus . |
DAY_OF_MONTH
The day of month is in the range [1, 31]
|
DAY_OF_WEEK
The day of week is in the range [1, 7]
|
DEVIATION
The deviation is in the range [-720, 720]
|
HOUR
The hour is in the range [0, 23]
|
HUNDREDTHS
The hundredths is in the range [0, 99]
|
MINUTE
The minute is in the range [0, 59]
|
MONTH
The month is in the range [1, 12]
|
SECOND
The minute is in the range [0, 59]
|
YEAR
Interpreted as a short unsigned.
|
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
Calendar.YEAR
public static final CosemDateFormat.Field MONTH
1 is January
Calendar.MONTH
public static final CosemDateFormat.Field DAY_OF_MONTH
Calendar.DAY_OF_MONTH
public static final CosemDateFormat.Field DAY_OF_WEEK
1 is Monday
Calendar.DAY_OF_WEEK
public static final CosemDateFormat.Field HOUR
Calendar.HOUR_OF_DAY
public static final CosemDateFormat.Field MINUTE
Calendar.MINUTE
public static final CosemDateFormat.Field SECOND
Calendar.SECOND
public static final CosemDateFormat.Field HUNDREDTHS
Calendar.MILLISECOND
public static final CosemDateFormat.Field DEVIATION
Calendar.ZONE_OFFSET
public static final CosemDateFormat.Field CLOCK_STATUS
CosemDateTime.ClockStatus
.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