Class FormatDatetimeFilter
- java.lang.Object
-
- com.hubspot.jinjava.lib.filter.time.FormatDatetimeFilter
-
- All Implemented Interfaces:
Filter
,Importable
public class FormatDatetimeFilter extends Object implements Filter
-
-
Constructor Summary
Constructors Constructor Description FormatDatetimeFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
filter(Object var, JinjavaInterpreter interpreter, String... args)
Filter the specified template variable within the context of a render process.static Object
format(Object var, String... args)
String
getName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hubspot.jinjava.lib.filter.Filter
filter, filter, preserveSafeString
-
-
-
-
Method Detail
-
filter
public Object filter(Object var, JinjavaInterpreter interpreter, String... args)
Description copied from interface:Filter
Filter the specified template variable within the context of a render process. {{ myvar|myfiltername(arg1,arg2) }}
-
getName
public String getName()
- Specified by:
getName
in interfaceImportable
-
-