1 | /*
|
2 | * Copyright 2017 Palantir Technologies, Inc. All rights reserved.
|
3 | *
|
4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | * you may not use this file except in compliance with the License.
|
6 | * You may obtain a copy of the License at
|
7 | *
|
8 | * http://www.apache.org/licenses/LICENSE-2.0
|
9 | *
|
10 | * Unless required by applicable law or agreed to in writing, software
|
11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 | * See the License for the specific language governing permissions and
|
14 | * limitations under the License.
|
15 | */
|
16 | /**
|
17 | * Enumeration of calendar months.
|
18 | *
|
19 | * Note that the enum values are numbers (with January as `0`) so they can be
|
20 | * easily compared to `date.getMonth()`.
|
21 | */
|
22 | export var Months;
|
23 | (function (Months) {
|
24 | Months[Months["JANUARY"] = 0] = "JANUARY";
|
25 | Months[Months["FEBRUARY"] = 1] = "FEBRUARY";
|
26 | Months[Months["MARCH"] = 2] = "MARCH";
|
27 | Months[Months["APRIL"] = 3] = "APRIL";
|
28 | Months[Months["MAY"] = 4] = "MAY";
|
29 | Months[Months["JUNE"] = 5] = "JUNE";
|
30 | Months[Months["JULY"] = 6] = "JULY";
|
31 | Months[Months["AUGUST"] = 7] = "AUGUST";
|
32 | Months[Months["SEPTEMBER"] = 8] = "SEPTEMBER";
|
33 | Months[Months["OCTOBER"] = 9] = "OCTOBER";
|
34 | Months[Months["NOVEMBER"] = 10] = "NOVEMBER";
|
35 | Months[Months["DECEMBER"] = 11] = "DECEMBER";
|
36 | })(Months || (Months = {}));
|
37 | //# sourceMappingURL=months.js.map |
\ | No newline at end of file |