Skip to main content
All docs
V25.1
  • DateGroupInterval Type

    Lists values that specify the group interval for date values.

    Declaration

    export type DateGroupInterval = "Year" | "Quarter" | "Month" | "Day" | "DayOfYear" | "DayOfWeek" | "WeekOfYear" | "WeekOfMonth" | "MonthYear" | "QuarterYear" | "WeekYear" | "DayMonthYear" | "None"

    Members

    Name Description
    "Year"

    Values are grouped by the year. Example: 2015, 2016, 2017

    "Quarter"

    Values are grouped by the quarter. Example: Q1, Q2, Q3, Q4

    "Month"

    Values are grouped by the month. Example: January, February, March, … December

    "Day"

    Values are grouped by the day of the month. Example: 1, 2, 3, … 31

    "DayOfYear"

    Values are grouped by the day of the year. Example: 1, 2, 3, … 365 (366 in a leap year)

    "DayOfWeek"

    Values are grouped by the day of the week. Example: Sunday, Monday, Tuesday, … Saturday

    "WeekOfYear"

    Values are grouped by the week of the year. Example: 1, 2, 3, … 52

    "WeekOfMonth"

    Values are grouped by the week of the month. Example: 1, 2, 3, 4, 5

    "MonthYear"

    Values are grouped by the year and month. Example: January 2012, February 2012, … December 2012, January 2013, …

    "QuarterYear"

    Values are grouped by the year and quarter. Example: Q3 2012, Q4 2012, Q1 2013, Q2 2013, …

    "WeekYear"

    Values are grouped by the year and week.

    "DayMonthYear"

    Values are grouped by the date part. Example: 3/4/2012, 3/5/2012, 3/6/2012, …

    "None"

    Each value is displayed “as is”.