Skip to content

@serenity-is/corelib / DateGroupInterval

Enumeration: DateGroupInterval

Defined in: src/base/servicetypes.ts:216

The interval the values of a date field are grouped by. The rows of an interval are one group, whose key is the start of the interval, e.g. the first day of the month.

Enumeration Members

Day

Day: 5

Defined in: src/base/servicetypes.ts:226

The day, which starts at midnight.


Hour

Hour: 6

Defined in: src/base/servicetypes.ts:228

The hour.


Month

Month: 3

Defined in: src/base/servicetypes.ts:222

The month, which starts on its first day.


Quarter

Quarter: 2

Defined in: src/base/servicetypes.ts:220

The quarter of the year, which starts on the first of January, April, July or October.


Week

Week: 4

Defined in: src/base/servicetypes.ts:224

The week, which starts on Monday.


Year

Year: 1

Defined in: src/base/servicetypes.ts:218

The year, which starts on the first of January.