UNPKG

391 BTypeScriptView Raw
1/**
2 * Enumeration of calendar months.
3 *
4 * Note that the enum values are numbers (with January as `0`) so they can be
5 * easily compared to `date.getMonth()`.
6 */
7export declare enum Months {
8 JANUARY = 0,
9 FEBRUARY = 1,
10 MARCH = 2,
11 APRIL = 3,
12 MAY = 4,
13 JUNE = 5,
14 JULY = 6,
15 AUGUST = 7,
16 SEPTEMBER = 8,
17 OCTOBER = 9,
18 NOVEMBER = 10,
19 DECEMBER = 11
20}