Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getCalendar()
Returns the content value of the element as a java.util.Calendar object
|
java.util.Date |
getDate()
Returns the content value of the element as a java.util.Date object
|
java.lang.String |
getString()
Returns the content value of the element as a string conforming to
RFC-3339
|
long |
getTime()
Returns the content value of the element as a long (equivalent to
calling DateTimeElement().getDate().getTime()
|
AtomDate |
getValue()
Returns the content value of the element as an AtomDate object
|
DateTime |
setCalendar(java.util.Calendar date)
Sets the content value of the element
|
DateTime |
setDate(java.util.Date date)
Sets the content value of the element
|
DateTime |
setString(java.lang.String date)
Sets the content value of the element
|
DateTime |
setTime(long date)
Sets the content value of the element
|
DateTime |
setValue(AtomDate dateTime)
Sets the content value of the element
|
addComment, clone, complete, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText, toString, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText
public AtomDate getValue()
DateTime
public DateTime setValue(AtomDate dateTime)
DateTime
public DateTime setDate(java.util.Date date)
DateTime
public DateTime setCalendar(java.util.Calendar date)
DateTime
setCalendar
in interface DateTime
date
- The java.util.Calendar valuepublic DateTime setTime(long date)
DateTime
public DateTime setString(java.lang.String date)
DateTime
public java.util.Date getDate()
DateTime
public java.util.Calendar getCalendar()
DateTime
getCalendar
in interface DateTime
public long getTime()
DateTime
Copyright © 2010 - 2020 Adobe. All Rights Reserved