UNPKG

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