Class DateModel

java.lang.Object
freemarker.ext.beans.BeanModel
freemarker.ext.beans.DateModel
All Implemented Interfaces:
WrapperTemplateModel, AdapterTemplateModel, TemplateDateModel, TemplateHashModel, TemplateHashModelEx, TemplateModel, TemplateModelWithAPISupport

public class DateModel extends BeanModel implements TemplateDateModel
Wraps arbitrary subclass of Date into a reflective model. Beside acting as a TemplateDateModel, you can call all Java methods on these objects as well.