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