public interface AttributedDateTime extends XSString, IdBearing, AttributeExtensibleXMLObject, WSSecurityObject
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DATETIME_FORMAT
Deprecated.
replaced by use of a
DateTimeFormatter
configured via setDateTimeFormatter(DateTimeFormatter). |
static String |
TYPE_LOCAL_NAME
Local name of the XSI type.
|
static QName |
TYPE_NAME
QName of the XSI type.
|
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getDateTime()
Returns the DateTime content or attribute value.
|
org.joda.time.format.DateTimeFormatter |
getDateTimeFormatter()
Get the
DateTimeFormatter to be used when stringifying
the DateTime value. |
void |
setDateTime(org.joda.time.DateTime dateTime)
Sets the DateTime content or attribute value.
|
void |
setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
Set the
DateTimeFormatter to be used when stringifying
the DateTime value. |
getUnknownAttributesdetach, 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, setSchemaLocationstatic final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
static final String DEFAULT_DATETIME_FORMAT
DateTimeFormatter
configured via setDateTimeFormatter(DateTimeFormatter).org.joda.time.DateTime getDateTime()
DateTime object.void setDateTime(org.joda.time.DateTime dateTime)
dateTime - the DateTime object to set.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(ISOChronology.getInstanceUTC()
void setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
DateTimeFormatter to be used when stringifying
the DateTime value.
Defaults to the formatter constructed by calling:
ISODateTimeFormat.dateTime().withChronology(ISOChronology.getInstanceUTC()
newFormatter - the new formatterCopyright © 2016 JBoss by Red Hat. All rights reserved.