Class DayOfWeekFunction

All Implemented Interfaces:
Iterable<GroupingExpression>

public class DayOfWeekFunction extends FunctionNode
This class represents a day-of-week timestamp-function in a GroupingExpression. It evaluates to a long that equals the day of week (0 - 6) of the result of the argument, Monday being 0.
Author:
Simon Thoresen Hult, bratseth
  • Constructor Details

    • DayOfWeekFunction

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