Class TemporalMonthJavaMethod

  • All Implemented Interfaces:
    InvocationEvaluator

    public class TemporalMonthJavaMethod
    extends Object
    implements InvocationEvaluator
    Evaluator for the method "MONTH_JAVA({dateExpr})". This returns the equivalent of the month for java.util.Date i.e (0,11)
    • Constructor Detail

      • TemporalMonthJavaMethod

        public TemporalMonthJavaMethod()
    • Method Detail

      • evaluate

        public Object evaluate​(InvokeExpression expr,
                               Object invokedValue,
                               InMemoryExpressionEvaluator eval)
        Description copied from interface: InvocationEvaluator
        Method to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.
        Specified by:
        evaluate in interface InvocationEvaluator
        Parameters:
        expr - The expression for invocation
        invokedValue - Value on which we are invoking
        eval - The overall evaluator for in-memory
        Returns:
        The result