Class FormatDate

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

    public class FormatDate
    extends Object
    implements freemarker.template.TemplateMethodModelEx
    Format a date with the specified locale.
    Author:
    Sun Seng David TAN
    • Constructor Detail

      • FormatDate

        public FormatDate()
    • Method Detail

      • exec

        public Object exec​(List arguments)
                    throws freemarker.template.TemplateModelException
        Specified by:
        exec in interface freemarker.template.TemplateMethodModel
        Specified by:
        exec in interface freemarker.template.TemplateMethodModelEx
        Throws:
        freemarker.template.TemplateModelException