Class EntityTime


  • public final class EntityTime
    extends Object
    The implementation of the <time/> element in the urn:xmpp:time namespace.

    This class is immutable.

    See Also:
    XEP-0202: Entity Time, XML Schema
    • Constructor Detail

      • EntityTime

        public EntityTime()
        Creates a empty entity time element for requesting entity time.
    • Method Detail

      • getDateTime

        public final OffsetDateTime getDateTime()
        Gets the entity's date.
        Returns:
        The date.