Class MonthOfYearFunction

All Implemented Interfaces:
Iterable<GroupingExpression>

public class MonthOfYearFunction extends FunctionNode
This class represents a month-of-year timestamp-function in a GroupingExpression. It evaluates to a long that equals the month of year (1-12) of the result of the argument.
Author:
Simon Thoresen Hult, bratseth
  • Constructor Details

    • MonthOfYearFunction

      public MonthOfYearFunction(GroupingExpression exp)
      Constructs a new instance of this class.
      Parameters:
      exp - The expression to evaluate, must evaluate to a long.
  • Method Details