Class Time

All Implemented Interfaces:
Serializable, Cloneable, Component, DynamicPropertied, RawId, Scope, ComponentCtrl

public class Time extends AbstractTag
The TIME tag.
Author:
jameschu
See Also:
  • Constructor Details

    • Time

      public Time()
  • Method Details

    • getDatetime

      public 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(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