Interface TimeView
- All Superinterfaces:
org.jivesoftware.smack.packet.IqView,org.jivesoftware.smack.packet.StanzaView,org.jivesoftware.smack.packet.XmlLangElement
- All Known Implementing Classes:
Time,TimeBuilder
public interface TimeView
extends org.jivesoftware.smack.packet.IqView
-
Method Summary
Methods inherited from interface org.jivesoftware.smack.packet.IqView
getType, isRequestIQ, isResponseIQMethods inherited from interface org.jivesoftware.smack.packet.StanzaView
getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtensionMethods inherited from interface org.jivesoftware.smack.packet.XmlLangElement
getLanguage
-
Method Details
-
getZonedDateTime
ZonedDateTime getZonedDateTime()Returns the time ornullif the time hasn't been set.- Returns:
- the time.
-
getUtc
Returns the time as a UTC formatted String using the format CCYY-MM-DDThh:mm:ssZ.- Returns:
- the time as a UTC formatted String.
-
getTzo
Returns the time zone.- Returns:
- the time zone.
-