public class ISO8601DateFormatMethod extends BaseTemplateProcessorExtension implements freemarker.template.TemplateMethodModelEx
Render Date to ISO8601 format.
Or parse ISO6801 format string date to a Date object.
Usage: xmldate(Date date) xmldate(String date)
Constructor and Description |
---|
ISO8601DateFormatMethod() |
Modifier and Type | Method and Description |
---|---|
Object |
exec(List args) |
getTemplateImageResolver, setTemplateImageResolver
getExtensionName, register, setExtensionName, setProcessor
public Object exec(List args) throws freemarker.template.TemplateModelException
exec
in interface freemarker.template.TemplateMethodModel
exec
in interface freemarker.template.TemplateMethodModelEx
freemarker.template.TemplateModelException
TemplateMethodModel.exec(java.util.List)
Copyright © 2005–2017 Alfresco Software. All rights reserved.