Class TimeInputTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class TimeInputTag extends HTML5InputTag
An HTML 5 JSP tag for time input elements.
Since:
5.0
Version:
11.0
Author:
Luke
See Also:
  • Constructor Details

    • TimeInputTag

      public TimeInputTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws JspException
      Creates an e-mail tag if executing in an HTML5 browser.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class ElementTag
      Returns:
      SKIP_BODY always
      Throws:
      JspException - if an error occurs
    • setMax

      public void setMax(Instant dt)
      Sets the maximum time.
      Parameters:
      dt - the time
    • setMin

      public void setMin(Instant dt)
      Sets the minimum time.
      Parameters:
      dt - the date/time
    • setStep

      public void setStep(int s)
      Sets the date stepping interval.
      Parameters:
      s - the interval in seconds