Package org.apache.abdera.model
Class DateTimeWrapper
- java.lang.Object
 - 
- org.apache.abdera.model.ElementWrapper
 - 
- org.apache.abdera.model.DateTimeWrapper
 
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.CalendargetCalendar()Returns the content value of the element as a java.util.Calendar objectjava.util.DategetDate()Returns the content value of the element as a java.util.Date objectjava.lang.StringgetString()Returns the content value of the element as a string conforming to RFC-3339longgetTime()Returns the content value of the element as a long (equivalent to calling DateTimeElement().getDate().getTime()AtomDategetValue()Returns the content value of the element as an AtomDate objectDateTimesetCalendar(java.util.Calendar date)Sets the content value of the elementDateTimesetDate(java.util.Date date)Sets the content value of the elementDateTimesetString(java.lang.String date)Sets the content value of the elementDateTimesetTime(long date)Sets the content value of the elementDateTimesetValue(AtomDate dateTime)Sets the content value of the element- 
Methods inherited from class org.apache.abdera.model.ElementWrapper
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 
- 
Methods inherited from interface org.apache.abdera.model.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo 
- 
Methods inherited from interface org.apache.abdera.model.Element
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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getValue
public AtomDate getValue()
Description copied from interface:DateTimeReturns the content value of the element as an AtomDate object 
- 
setValue
public DateTime setValue(AtomDate dateTime)
Description copied from interface:DateTimeSets the content value of the element 
- 
setDate
public DateTime setDate(java.util.Date date)
Description copied from interface:DateTimeSets the content value of the element 
- 
setCalendar
public DateTime setCalendar(java.util.Calendar date)
Description copied from interface:DateTimeSets the content value of the element- Specified by:
 setCalendarin interfaceDateTime- Parameters:
 date- The java.util.Calendar value
 
- 
setTime
public DateTime setTime(long date)
Description copied from interface:DateTimeSets the content value of the element 
- 
setString
public DateTime setString(java.lang.String date)
Description copied from interface:DateTimeSets the content value of the element 
- 
getDate
public java.util.Date getDate()
Description copied from interface:DateTimeReturns the content value of the element as a java.util.Date object 
- 
getCalendar
public java.util.Calendar getCalendar()
Description copied from interface:DateTimeReturns the content value of the element as a java.util.Calendar object- Specified by:
 getCalendarin interfaceDateTime- Returns:
 - The java.util.Calendar value of this element
 
 
- 
getTime
public long getTime()
Description copied from interface:DateTimeReturns the content value of the element as a long (equivalent to calling DateTimeElement().getDate().getTime() 
 - 
 
 -