Class TimeFrames

java.lang.Object
org.apache.calcite.rel.type.TimeFrames

public class TimeFrames extends Object
Utilities for TimeFrame.
  • Field Details

    • WEEK_FRAME_NAMES

      public static final List<String> WEEK_FRAME_NAMES
      The names of the frames that are WEEK starting on each week day. Entry 0 is "WEEK_SUNDAY" and entry 6 is "WEEK_SATURDAY".
    • CORE

      public static final TimeFrameSet CORE
      The core time frame set. Includes the time frames for all Avatica time units plus ISOWEEK and week offset for each week day:
      • SECOND, and multiples MINUTE, HOUR, DAY, WEEK (starts on a Sunday), sub-multiples MILLISECOND, MICROSECOND, NANOSECOND, quotients DOY, DOW;
      • MONTH, and multiples QUARTER, YEAR, DECADE, CENTURY, MILLENNIUM;
      • ISOYEAR, and sub-unit ISOWEEK (starts on a Monday), quotient ISODOW;
      • WEEK(weekday) with weekday being one of SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY.

      Does not include EPOCH.