java.lang.Object
org.nuxeo.ecm.platform.rendering.fm.extensions.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 Details

    • FormatDate

      public FormatDate()
  • Method Details

    • 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