Class DurationTag

java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
de.hybris.platform.testweb.taglib.DurationTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class DurationTag extends javax.servlet.jsp.tagext.SimpleTagSupport
Formats duration in milliseconds into human readable form. If format is not provided default 'mm:ss:SSS' will be used.
  • Constructor Details

    • DurationTag

      public DurationTag()
  • Method Details

    • doTag

      public void doTag() throws javax.servlet.jsp.JspException, IOException
      Specified by:
      doTag in interface javax.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      javax.servlet.jsp.JspException
      IOException
    • setFormat

      public void setFormat(String format)
    • setValue

      public void setValue(long value)