Package com.hubspot.jinjava.lib.filter
Class DatetimeFilter
- java.lang.Object
-
- com.hubspot.jinjava.lib.filter.DateTimeFormatFilter
-
- com.hubspot.jinjava.lib.filter.DatetimeFilter
-
- All Implemented Interfaces:
Filter
,Importable
@Deprecated public class DatetimeFilter extends DateTimeFormatFilter
Deprecated.Superseded byFormatDatetimeFilter
-
-
Constructor Summary
Constructors Constructor Description DatetimeFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
filter(Object object, JinjavaInterpreter interpreter, String... arg)
Deprecated.Filter the specified template variable within the context of a render process.String
getName()
Deprecated.-
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 object, JinjavaInterpreter interpreter, String... arg)
Deprecated.Description copied from interface:Filter
Filter the specified template variable within the context of a render process. {{ myvar|myfiltername(arg1,arg2) }}- Specified by:
filter
in interfaceFilter
- Overrides:
filter
in classDateTimeFormatFilter
- Parameters:
object
- the variable which this filter should operate oninterpreter
- current interpreter contextarg
- any arguments passed to this filter invocation- Returns:
- the filtered form of the given variable
-
getName
public String getName()
Deprecated.- Specified by:
getName
in interfaceImportable
- Overrides:
getName
in classDateTimeFormatFilter
-
-