Class DateTimeFunction

  • All Implemented Interfaces:
    com.mitchellbosecke.pebble.extension.Function, com.mitchellbosecke.pebble.extension.NamedArguments

    public class DateTimeFunction
    extends java.lang.Object
    implements com.mitchellbosecke.pebble.extension.Function
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FUNCTION_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object execute​(java.util.Map<java.lang.String,​java.lang.Object> args, com.mitchellbosecke.pebble.template.PebbleTemplate self, com.mitchellbosecke.pebble.template.EvaluationContext context, int lineNumber)  
      java.util.List<java.lang.String> getArgumentNames()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateTimeFunction

        public DateTimeFunction()
    • Method Detail

      • execute

        public java.lang.Object execute​(java.util.Map<java.lang.String,​java.lang.Object> args,
                                        com.mitchellbosecke.pebble.template.PebbleTemplate self,
                                        com.mitchellbosecke.pebble.template.EvaluationContext context,
                                        int lineNumber)
        Specified by:
        execute in interface com.mitchellbosecke.pebble.extension.Function
      • getArgumentNames

        public java.util.List<java.lang.String> getArgumentNames()
        Specified by:
        getArgumentNames in interface com.mitchellbosecke.pebble.extension.NamedArguments