public class FeedDate extends AbstractFeedElement
| Constructor and Description |
|---|
FeedDate(LocalDateTime aDT) |
| Modifier and Type | Method and Description |
|---|---|
static FeedDate |
createNow() |
com.helger.xml.microdom.IMicroElement |
getAsElement(String sElementName)
Convert this news feed element to an MicroElement with the given element
name.
|
LocalDateTime |
getDateTime() |
boolean |
isValid()
Check if this element matches the specification.
|
void |
setDateTime(LocalDateTime aDT) |
getLanguage, setLanguage, setLanguagepublic FeedDate(@Nullable LocalDateTime aDT)
public void setDateTime(@Nullable LocalDateTime aDT)
@Nullable public LocalDateTime getDateTime()
@Nonnull public com.helger.xml.microdom.IMicroElement getAsElement(String sElementName)
IFeedElementIFeedElement.isValid() it
should be safe anyway to create an element.sElementName - The element name to use. May neither be null nor empty.IMicroElement and never null.public boolean isValid()
IFeedElementtrue if the element is valid, and false
otherwise.Copyright © 2014–2017 Philip Helger. All rights reserved.