Class YearFunction

  • All Implemented Interfaces:

    public class YearFunction
    extends FunctionNode
    This class represents a year timestamp-function in a GroupingExpression. It evaluates to a long that equals the full year (e.g. 2010) of the result of the argument.
    Simon Thoresen Hult, bratseth
    • Constructor Detail

      • YearFunction

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