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

    Modifier and Type
    Method
    Description
    default String
    Returns the time zone.
    default String
    Returns the time as a UTC formatted String using the format CCYY-MM-DDThh:mm:ssZ.
    Returns the time or null if the time hasn't been set.

    Methods inherited from interface org.jivesoftware.smack.packet.IqView

    getType, isRequestIQ, isResponseIQ

    Methods inherited from interface org.jivesoftware.smack.packet.StanzaView

    getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtension

    Methods inherited from interface org.jivesoftware.smack.packet.XmlLangElement

    getLanguage
  • Method Details

    • getZonedDateTime

      ZonedDateTime getZonedDateTime()
      Returns the time or null if the time hasn't been set.
      Returns:
      the time.
    • getUtc

      default String 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

      default String getTzo()
      Returns the time zone.
      Returns:
      the time zone.