public final class EntityTimeManager extends Manager
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<OffsetDateTime> |
getEntityTime(rocks.xmpp.addr.Jid jid)
Gets the time information (e.g. time zone) of another XMPP entity.
|
isEnabled, setEnabledpublic AsyncResult<OffsetDateTime> getEntityTime(rocks.xmpp.addr.Jid jid)
jid - The entity's JID.Copyright © 2014–2017 XMPP.rocks. All rights reserved.