public final class EntityTimeManager extends Manager
This manager implements XEP-0202: Entity Time.
It automatically responds to entity time requests, with the system’s current date and timezone information and allows to retrieve another entity’s time.
| Modifier and Type | Method and Description |
|---|---|
AsyncResult<java.time.OffsetDateTime> |
getEntityTime(Jid jid)
Gets the time information (e.g. time zone) of another XMPP entity.
|
isEnabled, setEnabledpublic AsyncResult<java.time.OffsetDateTime> getEntityTime(Jid jid)
Gets the time information (e.g. time zone) of another XMPP entity.
jid - The entity’s JID.Copyright © 2014–2019 XMPP.rocks. All rights reserved.