chronos-date 1.0.2 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/basic-DqKyujoj.mjs +382 -0
- package/dist/basic-DsQqC5nZ.cjs +466 -0
- package/dist/constants.cjs +43 -1
- package/dist/constants.d.cts +17 -1
- package/dist/constants.d.mts +17 -1
- package/dist/constants.mjs +21 -1
- package/dist/convert-DbgntRVW.cjs +49 -0
- package/dist/convert-mMaI4YP0.mjs +38 -0
- package/dist/greet-D07t2_e6.mjs +51 -0
- package/dist/greet-hjVsd2dt.cjs +56 -0
- package/dist/guards.cjs +140 -1
- package/dist/guards.d.cts +18 -2
- package/dist/guards.d.mts +18 -2
- package/dist/guards.mjs +131 -1
- package/dist/helpers-CQzi908i.cjs +278 -0
- package/dist/helpers-DEf4sevD.mjs +201 -0
- package/dist/index.cjs +1477 -1
- package/dist/index.d.cts +18 -2
- package/dist/index.d.mts +18 -2
- package/dist/index.mjs +1474 -1
- package/dist/non-primitives-D9zxCwX8.cjs +68 -0
- package/dist/non-primitives-DBtomDty.mjs +38 -0
- package/dist/plugins/banglaPlugin.cjs +137 -1
- package/dist/plugins/banglaPlugin.d.cts +19 -3
- package/dist/plugins/banglaPlugin.d.mts +19 -3
- package/dist/plugins/banglaPlugin.mjs +136 -1
- package/dist/plugins/businessPlugin.cjs +134 -1
- package/dist/plugins/businessPlugin.d.cts +17 -1
- package/dist/plugins/businessPlugin.d.mts +17 -1
- package/dist/plugins/businessPlugin.mjs +133 -1
- package/dist/plugins/dateRangePlugin.cjs +62 -1
- package/dist/plugins/dateRangePlugin.d.cts +19 -3
- package/dist/plugins/dateRangePlugin.d.mts +19 -3
- package/dist/plugins/dateRangePlugin.mjs +61 -1
- package/dist/plugins/dayPartPlugin.cjs +42 -1
- package/dist/plugins/dayPartPlugin.d.cts +17 -1
- package/dist/plugins/dayPartPlugin.d.mts +17 -1
- package/dist/plugins/dayPartPlugin.mjs +41 -1
- package/dist/plugins/durationPlugin.cjs +107 -1
- package/dist/plugins/durationPlugin.d.cts +17 -1
- package/dist/plugins/durationPlugin.d.mts +17 -1
- package/dist/plugins/durationPlugin.mjs +106 -1
- package/dist/plugins/fromNowPlugin.cjs +96 -1
- package/dist/plugins/fromNowPlugin.d.cts +17 -1
- package/dist/plugins/fromNowPlugin.d.mts +17 -1
- package/dist/plugins/fromNowPlugin.mjs +95 -1
- package/dist/plugins/greetingPlugin.cjs +35 -1
- package/dist/plugins/greetingPlugin.d.cts +17 -1
- package/dist/plugins/greetingPlugin.d.mts +17 -1
- package/dist/plugins/greetingPlugin.mjs +34 -1
- package/dist/plugins/palindromePlugin.cjs +38 -1
- package/dist/plugins/palindromePlugin.d.cts +17 -1
- package/dist/plugins/palindromePlugin.d.mts +17 -1
- package/dist/plugins/palindromePlugin.mjs +37 -1
- package/dist/plugins/relativeTimePlugin.cjs +90 -1
- package/dist/plugins/relativeTimePlugin.d.cts +17 -1
- package/dist/plugins/relativeTimePlugin.d.mts +17 -1
- package/dist/plugins/relativeTimePlugin.mjs +89 -1
- package/dist/plugins/roundPlugin.cjs +85 -1
- package/dist/plugins/roundPlugin.d.cts +17 -1
- package/dist/plugins/roundPlugin.d.mts +17 -1
- package/dist/plugins/roundPlugin.mjs +84 -1
- package/dist/plugins/seasonPlugin.cjs +47 -1
- package/dist/plugins/seasonPlugin.d.cts +17 -1
- package/dist/plugins/seasonPlugin.d.mts +17 -1
- package/dist/plugins/seasonPlugin.mjs +46 -1
- package/dist/plugins/timeZonePlugin.cjs +155 -1
- package/dist/plugins/timeZonePlugin.d.cts +17 -1
- package/dist/plugins/timeZonePlugin.d.mts +17 -1
- package/dist/plugins/timeZonePlugin.mjs +154 -1
- package/dist/plugins/zodiacPlugin.cjs +67 -1
- package/dist/plugins/zodiacPlugin.d.cts +17 -1
- package/dist/plugins/zodiacPlugin.d.mts +17 -1
- package/dist/plugins/zodiacPlugin.mjs +66 -1
- package/dist/primitives-CtuSNmV7.cjs +65 -0
- package/dist/primitives-dXzXlzJw.mjs +35 -0
- package/dist/seasons-B7kK88zq.cjs +434 -0
- package/dist/{seasons-CioTH5Dm.d.mts → seasons-B_kjFWIX.d.mts} +16 -0
- package/dist/{seasons-CsVeJ27s.d.cts → seasons-CpUn45n6.d.cts} +16 -0
- package/dist/seasons-Cq3ah3pV.mjs +368 -0
- package/dist/timezone-BNnHFgki.cjs +5625 -0
- package/dist/timezone-Db2CeL32.mjs +5589 -0
- package/dist/{types-B2fgrJ86.d.mts → types-Cb4gxrgJ.d.mts} +29 -15
- package/dist/{types-DPTQ_yLx.d.cts → types-CdmsXbU_.d.cts} +29 -15
- package/dist/types.cjs +16 -0
- package/dist/types.d.cts +18 -2
- package/dist/types.d.mts +18 -2
- package/dist/types.mjs +17 -1
- package/dist/utilities-BGX8dviZ.mjs +257 -0
- package/dist/utilities-BKtVo78T.mjs +59 -0
- package/dist/utilities-CpF3uys3.cjs +88 -0
- package/dist/utilities-D47SN9EZ.cjs +334 -0
- package/dist/utils.cjs +92 -1
- package/dist/utils.d.cts +20 -4
- package/dist/utils.d.mts +20 -4
- package/dist/utils.mjs +60 -1
- package/package.json +10 -4
- package/dist/basic-CKxaRSHQ.cjs +0 -1
- package/dist/basic-e46DaNAi.mjs +0 -1
- package/dist/convert-Bmp63ats.mjs +0 -1
- package/dist/convert-DrLrcgqz.cjs +0 -1
- package/dist/greet-BBsrvmkn.mjs +0 -1
- package/dist/greet-C-6mruI9.cjs +0 -1
- package/dist/helpers-DGzYnP81.cjs +0 -1
- package/dist/helpers-N1X_Rj_V.mjs +0 -1
- package/dist/non-primitives-B2EE6D6s.mjs +0 -1
- package/dist/non-primitives-Bu3a4WL4.cjs +0 -1
- package/dist/primitives-Cxss_JVF.mjs +0 -1
- package/dist/primitives-Db2FUp4e.cjs +0 -1
- package/dist/seasons-ChAIVphi.mjs +0 -1
- package/dist/seasons-oABOhHcX.cjs +0 -1
- package/dist/timezone-B10UItNO.mjs +0 -1
- package/dist/timezone-CWxbK_7I.cjs +0 -1
- package/dist/utilities-B8dOAQVD.cjs +0 -1
- package/dist/utilities-BJE06bms.mjs +0 -1
- package/dist/utilities-D2-p26DX.cjs +0 -1
- package/dist/utilities-DV_ohS37.mjs +0 -1
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
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
|
+
|
|
18
|
+
//#region src/constants/seasons.ts
|
|
19
|
+
/** Western Seasons */
|
|
20
|
+
const DEFAULT_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
21
|
+
{
|
|
22
|
+
name: "Spring",
|
|
23
|
+
boundary: {
|
|
24
|
+
startMonth: 2,
|
|
25
|
+
endMonth: 4
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "Summer",
|
|
30
|
+
boundary: {
|
|
31
|
+
startMonth: 5,
|
|
32
|
+
endMonth: 7
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: "Autumn",
|
|
37
|
+
boundary: {
|
|
38
|
+
startMonth: 8,
|
|
39
|
+
endMonth: 10
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "Winter",
|
|
44
|
+
boundary: {
|
|
45
|
+
startMonth: 11,
|
|
46
|
+
endMonth: 1
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]);
|
|
50
|
+
/**Default Bangladeshi Seasons */
|
|
51
|
+
const BANGLADESH_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
52
|
+
{
|
|
53
|
+
name: "Grisma (Summer)",
|
|
54
|
+
boundary: {
|
|
55
|
+
startDate: "04-15",
|
|
56
|
+
endDate: "06-14"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: "Barsa (Monsoon)",
|
|
61
|
+
boundary: {
|
|
62
|
+
startDate: "06-15",
|
|
63
|
+
endDate: "08-14"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: "Sarat (Autumn)",
|
|
68
|
+
boundary: {
|
|
69
|
+
startDate: "08-15",
|
|
70
|
+
endDate: "10-14"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "Hemanta (Late-Autumn)",
|
|
75
|
+
boundary: {
|
|
76
|
+
startDate: "10-15",
|
|
77
|
+
endDate: "12-14"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "Shhit (Winter)",
|
|
82
|
+
boundary: {
|
|
83
|
+
startDate: "12-15",
|
|
84
|
+
endDate: "02-14"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "Basanta (Spring)",
|
|
89
|
+
boundary: {
|
|
90
|
+
startDate: "02-15",
|
|
91
|
+
endDate: "04-14"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]);
|
|
95
|
+
/** Indian Seasons */
|
|
96
|
+
const INDIA_IMD_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
97
|
+
{
|
|
98
|
+
name: "Winter",
|
|
99
|
+
boundary: {
|
|
100
|
+
startMonth: 0,
|
|
101
|
+
endMonth: 1
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "Pre-Monsoon",
|
|
106
|
+
boundary: {
|
|
107
|
+
startMonth: 2,
|
|
108
|
+
endMonth: 4
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "Monsoon",
|
|
113
|
+
boundary: {
|
|
114
|
+
startMonth: 5,
|
|
115
|
+
endMonth: 8
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: "Post-Monsoon",
|
|
120
|
+
boundary: {
|
|
121
|
+
startMonth: 9,
|
|
122
|
+
endMonth: 10
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "Cool Season",
|
|
127
|
+
boundary: {
|
|
128
|
+
startMonth: 11,
|
|
129
|
+
endMonth: 11
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
]);
|
|
133
|
+
/** Indian Vedic Seasons */
|
|
134
|
+
const INDIA_VEDIC_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
135
|
+
{
|
|
136
|
+
name: "Shishir (Winter)",
|
|
137
|
+
boundary: {
|
|
138
|
+
startDate: "12-15",
|
|
139
|
+
endDate: "02-14"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "Vasanta (Spring)",
|
|
144
|
+
boundary: {
|
|
145
|
+
startDate: "02-15",
|
|
146
|
+
endDate: "04-14"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "Grishma (Summer)",
|
|
151
|
+
boundary: {
|
|
152
|
+
startDate: "04-15",
|
|
153
|
+
endDate: "06-14"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: "Varsha (Monsoon)",
|
|
158
|
+
boundary: {
|
|
159
|
+
startDate: "06-15",
|
|
160
|
+
endDate: "08-14"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: "Sharad (Autumn)",
|
|
165
|
+
boundary: {
|
|
166
|
+
startDate: "08-15",
|
|
167
|
+
endDate: "10-14"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: "Hemant (Late-Autumn)",
|
|
172
|
+
boundary: {
|
|
173
|
+
startDate: "10-15",
|
|
174
|
+
endDate: "12-14"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
]);
|
|
178
|
+
/** Indian Tamil Seasons */
|
|
179
|
+
const INDIA_TAMIL_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
180
|
+
{
|
|
181
|
+
name: "Ilavenil (Mid-Summer)",
|
|
182
|
+
boundary: {
|
|
183
|
+
startMonth: 4,
|
|
184
|
+
endMonth: 5
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: "Mutuvenil (Peak-Summer)",
|
|
189
|
+
boundary: {
|
|
190
|
+
startMonth: 6,
|
|
191
|
+
endMonth: 7
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
name: "Kaar (Monsoon)",
|
|
196
|
+
boundary: {
|
|
197
|
+
startMonth: 7,
|
|
198
|
+
endMonth: 9
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: "Koothir (Autumn)",
|
|
203
|
+
boundary: {
|
|
204
|
+
startMonth: 9,
|
|
205
|
+
endMonth: 10
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
name: "Munpani (Early-Winter)",
|
|
210
|
+
boundary: {
|
|
211
|
+
startMonth: 10,
|
|
212
|
+
endMonth: 0
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: "Pinpani (Late-Winter)",
|
|
217
|
+
boundary: {
|
|
218
|
+
startMonth: 0,
|
|
219
|
+
endMonth: 2
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
]);
|
|
223
|
+
/** Philippines Seasons */
|
|
224
|
+
const PHILIPPINES_SEASONS = /* @__PURE__ */ Object.freeze([{
|
|
225
|
+
name: "Dry Season",
|
|
226
|
+
boundary: {
|
|
227
|
+
startMonth: 11,
|
|
228
|
+
endMonth: 4
|
|
229
|
+
}
|
|
230
|
+
}, {
|
|
231
|
+
name: "Wet Season",
|
|
232
|
+
boundary: {
|
|
233
|
+
startMonth: 5,
|
|
234
|
+
endMonth: 10
|
|
235
|
+
}
|
|
236
|
+
}]);
|
|
237
|
+
/** US Academic Seasons */
|
|
238
|
+
const US_ACADEMIC_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
239
|
+
{
|
|
240
|
+
name: "Spring",
|
|
241
|
+
boundary: {
|
|
242
|
+
startDate: "01-10",
|
|
243
|
+
endDate: "05-15"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "Summer",
|
|
248
|
+
boundary: {
|
|
249
|
+
startDate: "05-16",
|
|
250
|
+
endDate: "08-15"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: "Fall",
|
|
255
|
+
boundary: {
|
|
256
|
+
startDate: "08-16",
|
|
257
|
+
endDate: "12-20"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: "Winter Break",
|
|
262
|
+
boundary: {
|
|
263
|
+
startDate: "12-21",
|
|
264
|
+
endDate: "01-09"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
]);
|
|
268
|
+
/** Japanese Seasons */
|
|
269
|
+
const JAPAN_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
270
|
+
{
|
|
271
|
+
name: "Haru (Spring)",
|
|
272
|
+
boundary: {
|
|
273
|
+
startDate: "03-01",
|
|
274
|
+
endDate: "05-31"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: "Natsu (Summer)",
|
|
279
|
+
boundary: {
|
|
280
|
+
startDate: "06-01",
|
|
281
|
+
endDate: "08-31"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
name: "Aki (Autumn)",
|
|
286
|
+
boundary: {
|
|
287
|
+
startDate: "09-01",
|
|
288
|
+
endDate: "11-30"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
name: "Fuyu (Winter)",
|
|
293
|
+
boundary: {
|
|
294
|
+
startDate: "12-01",
|
|
295
|
+
endDate: "02-28"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
]);
|
|
299
|
+
/** Australian Seasons */
|
|
300
|
+
const AUSTRALIA_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
301
|
+
{
|
|
302
|
+
name: "Summer",
|
|
303
|
+
boundary: {
|
|
304
|
+
startMonth: 11,
|
|
305
|
+
endMonth: 1
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: "Autumn",
|
|
310
|
+
boundary: {
|
|
311
|
+
startMonth: 2,
|
|
312
|
+
endMonth: 4
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: "Winter",
|
|
317
|
+
boundary: {
|
|
318
|
+
startMonth: 5,
|
|
319
|
+
endMonth: 7
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
name: "Spring",
|
|
324
|
+
boundary: {
|
|
325
|
+
startMonth: 8,
|
|
326
|
+
endMonth: 10
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
]);
|
|
330
|
+
/** Ethiopian Seasons */
|
|
331
|
+
const ETHIOPIA_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
332
|
+
{
|
|
333
|
+
name: "Bega (Dry)",
|
|
334
|
+
boundary: {
|
|
335
|
+
startMonth: 10,
|
|
336
|
+
endMonth: 1
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
name: "Belg (Short Rain)",
|
|
341
|
+
boundary: {
|
|
342
|
+
startMonth: 2,
|
|
343
|
+
endMonth: 4
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: "Kiremt (Main Rain)",
|
|
348
|
+
boundary: {
|
|
349
|
+
startMonth: 5,
|
|
350
|
+
endMonth: 9
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
]);
|
|
354
|
+
/** All the Season Presets for `new Chronos.season()` method */
|
|
355
|
+
const SEASON_PRESETS = /* @__PURE__ */ Object.freeze({
|
|
356
|
+
default: DEFAULT_SEASONS,
|
|
357
|
+
bangladesh: BANGLADESH_SEASONS,
|
|
358
|
+
india: INDIA_IMD_SEASONS,
|
|
359
|
+
tamil: INDIA_TAMIL_SEASONS,
|
|
360
|
+
vedic: INDIA_VEDIC_SEASONS,
|
|
361
|
+
philippines: PHILIPPINES_SEASONS,
|
|
362
|
+
academic_us: US_ACADEMIC_SEASONS,
|
|
363
|
+
japan: JAPAN_SEASONS,
|
|
364
|
+
australia: AUSTRALIA_SEASONS,
|
|
365
|
+
ethiopia: ETHIOPIA_SEASONS
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
//#endregion
|
|
369
|
+
Object.defineProperty(exports, 'AUSTRALIA_SEASONS', {
|
|
370
|
+
enumerable: true,
|
|
371
|
+
get: function () {
|
|
372
|
+
return AUSTRALIA_SEASONS;
|
|
373
|
+
}
|
|
374
|
+
});
|
|
375
|
+
Object.defineProperty(exports, 'BANGLADESH_SEASONS', {
|
|
376
|
+
enumerable: true,
|
|
377
|
+
get: function () {
|
|
378
|
+
return BANGLADESH_SEASONS;
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
Object.defineProperty(exports, 'DEFAULT_SEASONS', {
|
|
382
|
+
enumerable: true,
|
|
383
|
+
get: function () {
|
|
384
|
+
return DEFAULT_SEASONS;
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
Object.defineProperty(exports, 'ETHIOPIA_SEASONS', {
|
|
388
|
+
enumerable: true,
|
|
389
|
+
get: function () {
|
|
390
|
+
return ETHIOPIA_SEASONS;
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
Object.defineProperty(exports, 'INDIA_IMD_SEASONS', {
|
|
394
|
+
enumerable: true,
|
|
395
|
+
get: function () {
|
|
396
|
+
return INDIA_IMD_SEASONS;
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
Object.defineProperty(exports, 'INDIA_TAMIL_SEASONS', {
|
|
400
|
+
enumerable: true,
|
|
401
|
+
get: function () {
|
|
402
|
+
return INDIA_TAMIL_SEASONS;
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
Object.defineProperty(exports, 'INDIA_VEDIC_SEASONS', {
|
|
406
|
+
enumerable: true,
|
|
407
|
+
get: function () {
|
|
408
|
+
return INDIA_VEDIC_SEASONS;
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
Object.defineProperty(exports, 'JAPAN_SEASONS', {
|
|
412
|
+
enumerable: true,
|
|
413
|
+
get: function () {
|
|
414
|
+
return JAPAN_SEASONS;
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
|
+
Object.defineProperty(exports, 'PHILIPPINES_SEASONS', {
|
|
418
|
+
enumerable: true,
|
|
419
|
+
get: function () {
|
|
420
|
+
return PHILIPPINES_SEASONS;
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
Object.defineProperty(exports, 'SEASON_PRESETS', {
|
|
424
|
+
enumerable: true,
|
|
425
|
+
get: function () {
|
|
426
|
+
return SEASON_PRESETS;
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
Object.defineProperty(exports, 'US_ACADEMIC_SEASONS', {
|
|
430
|
+
enumerable: true,
|
|
431
|
+
get: function () {
|
|
432
|
+
return US_ACADEMIC_SEASONS;
|
|
433
|
+
}
|
|
434
|
+
});
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
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
|
+
|
|
1
17
|
//#region src/constants/basic.d.ts
|
|
2
18
|
/** @internal Symbol for accessing Chronos internals (plugin author use only) */
|
|
3
19
|
declare const INTERNALS: unique symbol;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
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
|
+
|
|
1
17
|
//#region src/constants/basic.d.ts
|
|
2
18
|
/** @internal Symbol for accessing Chronos internals (plugin author use only) */
|
|
3
19
|
declare const INTERNALS: unique symbol;
|