Class HtmlTimeInput

    • Field Detail

      • INPUT_FORMATTER_

        private static final java.time.format.DateTimeFormatter INPUT_FORMATTER_
      • OUTPUT_FORMATTER_

        private static final java.time.format.DateTimeFormatter OUTPUT_FORMATTER_
    • Constructor Detail

      • HtmlTimeInput

        HtmlTimeInput​(java.lang.String qualifiedName,
                      SgmlPage page,
                      java.util.Map<java.lang.String,​DomAttr> attributes)
        Creates an instance.
        Parameters:
        qualifiedName - the qualified name of the element type to instantiate
        page - the page that contains this element
        attributes - the initial attributes
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Overrides:
        getValue in class HtmlInput
        Returns:
        the value
      • isValid

        public boolean isValid()
        Returns whether this element satisfies all form validation constraints set.
        Overrides:
        isValid in class HtmlInput
        Returns:
        whether this element satisfies all form validation constraints set
      • isMinValid

        private boolean isMinValid()
        Returns if the input element has a valid min value. Refer to the HTML 5 documentation for details.
        Returns:
        if the input element has a valid min value
      • isMaxValid

        private boolean isMaxValid()
        Returns if the input element has a valid max value. Refer to the HTML 5 documentation for details.
        Returns:
        if the input element has a valid max value