public class Date extends Element
Element.ElementContentType, Element.Property
Modifier and Type | Field and Description |
---|---|
static Pattern |
IS_RFC3339_DATE |
protected long |
m_ms |
static DateFormat |
RFC3339_DATE_FORMAT |
m_attributes, m_base, m_baseURI, m_children, m_content, m_lang, m_name, m_parent, STRIP_FROM_NORMAL_NAME
Modifier and Type | Method and Description |
---|---|
long |
getMs() |
protected void |
initialize(Object o)
Initialize with specified object.
|
void |
setContent(String content) |
protected void |
setDate(Object o) |
void |
setMs(long ms) |
protected void |
setProperties(IContentProvider provider,
Collection<?> keys)
Set the normalized properties of this element.
|
enforceChildrenConformance, enforceChildrenConformance, enforceConformance, escapeXMLContent, escapeXMLName, firstValue, getAttributes, getBase, getBaseUri, getBaseURI, getChildren, getContent, getLang, getName, getParent, multipleValues, printAttribute, printChildren, printChildren, printChildren, printContent, printEndTag, printStartTag, printTextualContent, serialize, setAttributes, setBase, setChildren, setLang, setName, setParent, toString
public static Pattern IS_RFC3339_DATE
public static DateFormat RFC3339_DATE_FORMAT
protected long m_ms
public Date()
public Date(Object o)
protected void initialize(Object o)
Element
initialize
in class Element
protected void setProperties(IContentProvider provider, Collection<?> keys)
Element
setProperties
in class Element
public void setContent(String content)
setContent
in class Element
protected void setDate(Object o)
public long getMs()
public void setMs(long ms)