|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSDateTime
XMLObject that represents an XML Schema dateTime.
Field Summary | |
---|---|
static String |
TYPE_LOCAL_NAME
Local name of the XSI type. |
static QName |
TYPE_NAME
QName of the XSI type. |
Method Summary | |
---|---|
DateTimeFormatter |
getDateTimeFormatter()
Get the DateTimeFormatter to be used when stringifying
the DateTime value. |
DateTime |
getValue()
Gets the dateTime value. |
void |
setDateTimeFormatter(DateTimeFormatter newFormatter)
Set the DateTimeFormatter to be used when stringifying
the DateTime value. |
void |
setValue(DateTime newValue)
Sets the dateTime value. |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Field Detail |
---|
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
Method Detail |
---|
DateTime getValue()
void setValue(DateTime newValue)
newValue
- the dateTime valueDateTimeFormatter getDateTimeFormatter()
DateTimeFormatter
to be used when stringifying
the DateTime
value.
Defaults to the formatter constructed by calling:
org.joda.time.format.ISODateTimeFormat.dateTime().withChronology(org.joda.time.chrono.ISOChronology.getInstanceUTC()
void setDateTimeFormatter(DateTimeFormatter newFormatter)
DateTimeFormatter
to be used when stringifying
the DateTime
value.
Defaults to the formatter constructed by calling:
org.joda.time.format.ISODateTimeFormat.dateTime().withChronology(org.joda.time.chrono.ISOChronology.getInstanceUTC()
newFormatter
- the new formatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |