com.ibm.tivoli.maximo.miniapps.scheduler.tooltips.fm

Class DurationTemplateMethod

  • All Implemented Interfaces:
    freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel


    public class DurationTemplateMethod
    extends ParamTemplateMethod2
    • Field Summary

      • Fields inherited from interface freemarker.template.TemplateModel

        NOTHING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object exec(java.lang.Object arg1, java.lang.Object arg2) 
      java.lang.String formatDuration(java.lang.Double durationInDouble) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DurationTemplateMethod

        public DurationTemplateMethod()
    • Method Detail

      • exec

        public java.lang.Object exec(java.lang.Object arg1,
                                     java.lang.Object arg2)
                              throws freemarker.template.TemplateModelException
        Specified by:
        exec in class ParamTemplateMethod2
        Throws:
        freemarker.template.TemplateModelException
      • formatDuration

        public java.lang.String formatDuration(java.lang.Double durationInDouble)