Class Time

    • Method Detail

      • _kind

        public final Time.Kind _kind()
        Description copied from interface: TaggedUnion
        Get the of the kind of variant held by this object.
        Specified by:
        _kind in interface TaggedUnion<Time.Kind,​java.lang.Object>
        Returns:
        the variant kind
      • _get

        public final java.lang.Object _get()
        Specified by:
        _get in interface TaggedUnion<Time.Kind,​java.lang.Object>
      • _toJsonString

        public java.lang.String _toJsonString()
      • isOffset

        public boolean isOffset()
        Is this variant instance of kind offset?
      • offset

        public java.lang.Integer offset()
        Get the offset variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the offset kind.
      • isTime

        public boolean isTime()
        Is this variant instance of kind time?
      • time

        public java.lang.String time()
        Get the time variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the time kind.