public final class EntityTime extends Object
<time/> element in the urn:xmpp:time namespace.
This class is immutable.
| Constructor and Description |
|---|
EntityTime()
Creates a empty entity time element for requesting entity time.
|
EntityTime(OffsetDateTime dateTime) |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
getDateTime()
Gets the entity's date.
|
String |
toString() |
public static final String NAMESPACE
public EntityTime()
public EntityTime(OffsetDateTime dateTime)
public final OffsetDateTime getDateTime()
Copyright © 2014–2017 XMPP.rocks. All rights reserved.