public interface XAttributeTimestamp extends XAttribute
Modifier and Type | Field and Description |
---|---|
static XsDateTimeFormat |
FORMATTER
Formatter to be used for formatting dates.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getValue()
Retrieves the timestamp value of this attribute.
|
long |
getValueMillis()
Retrieves the timestamp value of this attribute, in milliseconds.
|
void |
setValue(java.util.Date value)
Assigns the timestamp value of this attribute.
|
void |
setValueMillis(long value)
Assigns the timestamp value of this attribute in milliseconds.
|
accept, clone, getExtension, getKey, toString
getAttributes, getExtensions, hasAttributes, setAttributes
static final XsDateTimeFormat FORMATTER
void setValue(java.util.Date value)
value
- Value of the attribute.void setValueMillis(long value)
value
- Value of the attribute.java.util.Date getValue()
long getValueMillis()