public Date getUpdated() { return new Date(delegate.getUpdated().getValue()); }
public Date getPublished() { return new Date(delegate.getPublished().getValue()); }
/** * Creates a new hAtom "updated" element for the given entry. */ static XmlElement getUpdatedElement(BaseContentEntry<?> entry) { checkNotNull(entry); XmlElement element = new XmlElement("abbr"); element.setAttribute("class", "updated"); element.setAttribute("title", entry.getUpdated().toString()); DateTime jodaTime = new DateTime(entry.getUpdated().getValue(), DateTimeZone.UTC); element.addText(jodaTime.toString(formatter)); return element; } }
.setAttribute("href", href); row.addElement(new XmlElement("td").addElement(link)); DateTime jodaTime = new DateTime(revision.getUpdated().getValue()); XmlElement updated = new XmlElement("td").addText( jodaTime.toString(formatter));