public interface XSDateTime extends XMLObject
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static QName |
TYPE_NAME
QName of the XSI type.
|
Modifier and Type | Method and Description |
---|---|
org.joda.time.format.DateTimeFormatter |
getDateTimeFormatter()
Get the
DateTimeFormatter to be used when stringifying
the DateTime value. |
org.joda.time.DateTime |
getValue()
Gets the dateTime value.
|
void |
setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
Set the
DateTimeFormatter to be used when stringifying
the DateTime value. |
void |
setValue(org.joda.time.DateTime newValue)
Sets the dateTime value.
|
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
@Nullable org.joda.time.DateTime getValue()
void setValue(@Nullable org.joda.time.DateTime newValue)
newValue
- the dateTime value@Nonnull org.joda.time.format.DateTimeFormatter getDateTimeFormatter()
DateTimeFormatter
to be used when stringifying
the DateTime
value.
Defaults to the formatter constructed by calling:
ISODateTimeFormat.dateTime().withChronology(org.joda.time.chrono.ISOChronology.getInstanceUTC())
void setDateTimeFormatter(@Nonnull org.joda.time.format.DateTimeFormatter newFormatter)
DateTimeFormatter
to be used when stringifying
the DateTime
value.newFormatter
- the new formatterCopyright © 2017. All rights reserved.