Class Time

    • Constructor Detail

      • Time

        public Time()
    • Method Detail

      • getDatetime

        public java.lang.String getDatetime()
        Returns the datetime of this time tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.5.1
      • setDatetime

        public void setDatetime​(java.lang.String datetime)
                         throws WrongValueException
        Sets the datetime of this time tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.5.1