public interface CosemDateFormat
Modifier and Type | Interface and Description |
---|---|
static class |
CosemDateFormat.Field
Fields of the CosemDateFormat.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encode()
The octet string.
|
int |
get(CosemDateFormat.Field field)
Retrieves the value for a certain value.
|
int |
length()
The size of the octet string.
|
java.util.Calendar |
toCalendar()
Converts the COSEM DATE/TIME to a
Calendar . |
byte[] encode()
java.util.Calendar toCalendar()
Calendar
.int length()
int get(CosemDateFormat.Field field) throws java.lang.IllegalArgumentException
field
- the field which should be retrieved.java.lang.IllegalArgumentException
- if the class doesn't have the field.