Specifies the unit of statistical intervals.
Enumeration value list
YEAR specifies the year unit.
QUARTER_YEAR specifies the quarter unit.
MONTH specifies the month unit.
WEEK specifies the week unit.
DAY specifies the day unit.
HOUR specifies the hour unit.
MINUTE specifies the minute unit.
SECOND specifies the second unit.
enum DateTimeUnit {
YEAR = 1;
QUARTER_YEAR = 2; // One quarter.
MONTH = 3;
WEEK = 4;
DAY = 5;
HOUR = 6;
MINUTE = 7;
SECOND = 8;
}