Class DateFunction

  • All Implemented Interfaces:
    Iterable<GroupingExpression>

    public class DateFunction
    extends FunctionNode
    This class represents a timestamp-formatter function in a GroupingExpression. It evaluates to a string on the form "YYYY-MM-DD" of the result of the argument.
    Author:
    Simon Thoresen Hult, bratseth
    • Constructor Detail

      • DateFunction

        public DateFunction​(GroupingExpression exp)
        Constructs a new instance of this class.
        Parameters:
        exp - The expression to evaluate, must evaluate to a long.