chronos-date 1.1.0 → 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-Dputob9z.mjs → basic-DqKyujoj.mjs} +16 -0
- package/dist/{basic-DIp_pxR2.cjs → basic-DsQqC5nZ.cjs} +16 -0
- package/dist/constants.cjs +19 -3
- package/dist/constants.d.cts +17 -1
- package/dist/constants.d.mts +17 -1
- package/dist/constants.mjs +19 -3
- package/dist/{convert-dQuGWhVm.cjs → convert-DbgntRVW.cjs} +17 -1
- package/dist/{convert-CNVL-mop.mjs → convert-mMaI4YP0.mjs} +17 -1
- package/dist/{greet-B9j4afzD.mjs → greet-D07t2_e6.mjs} +17 -1
- package/dist/{greet-B8ZtypgG.cjs → greet-hjVsd2dt.cjs} +17 -1
- package/dist/guards.cjs +32 -11
- package/dist/guards.d.cts +18 -2
- package/dist/guards.d.mts +18 -2
- package/dist/guards.mjs +32 -11
- package/dist/{helpers-M_SfAbAv.cjs → helpers-CQzi908i.cjs} +20 -4
- package/dist/{helpers-CrMc9iJZ.mjs → helpers-DEf4sevD.mjs} +20 -4
- package/dist/index.cjs +29 -13
- package/dist/index.d.cts +18 -2
- package/dist/index.d.mts +18 -2
- package/dist/index.mjs +30 -14
- package/dist/{non-primitives-CT4vszrX.cjs → non-primitives-D9zxCwX8.cjs} +16 -0
- package/dist/{non-primitives-DrQfPj1r.mjs → non-primitives-DBtomDty.mjs} +16 -0
- package/dist/plugins/banglaPlugin.cjs +21 -5
- package/dist/plugins/banglaPlugin.d.cts +19 -3
- package/dist/plugins/banglaPlugin.d.mts +19 -3
- package/dist/plugins/banglaPlugin.mjs +21 -5
- package/dist/plugins/businessPlugin.cjs +19 -3
- package/dist/plugins/businessPlugin.d.cts +17 -1
- package/dist/plugins/businessPlugin.d.mts +17 -1
- package/dist/plugins/businessPlugin.mjs +19 -3
- package/dist/plugins/dateRangePlugin.cjs +19 -3
- package/dist/plugins/dateRangePlugin.d.cts +19 -3
- package/dist/plugins/dateRangePlugin.d.mts +19 -3
- package/dist/plugins/dateRangePlugin.mjs +19 -3
- package/dist/plugins/dayPartPlugin.cjs +18 -2
- package/dist/plugins/dayPartPlugin.d.cts +17 -1
- package/dist/plugins/dayPartPlugin.d.mts +17 -1
- package/dist/plugins/dayPartPlugin.mjs +18 -2
- package/dist/plugins/durationPlugin.cjs +17 -1
- package/dist/plugins/durationPlugin.d.cts +17 -1
- package/dist/plugins/durationPlugin.d.mts +17 -1
- package/dist/plugins/durationPlugin.mjs +17 -1
- package/dist/plugins/fromNowPlugin.cjs +18 -2
- package/dist/plugins/fromNowPlugin.d.cts +17 -1
- package/dist/plugins/fromNowPlugin.d.mts +17 -1
- package/dist/plugins/fromNowPlugin.mjs +18 -2
- package/dist/plugins/greetingPlugin.cjs +17 -1
- package/dist/plugins/greetingPlugin.d.cts +17 -1
- package/dist/plugins/greetingPlugin.d.mts +17 -1
- package/dist/plugins/greetingPlugin.mjs +17 -1
- package/dist/plugins/palindromePlugin.cjs +17 -1
- package/dist/plugins/palindromePlugin.d.cts +17 -1
- package/dist/plugins/palindromePlugin.d.mts +17 -1
- package/dist/plugins/palindromePlugin.mjs +17 -1
- package/dist/plugins/relativeTimePlugin.cjs +17 -1
- package/dist/plugins/relativeTimePlugin.d.cts +17 -1
- package/dist/plugins/relativeTimePlugin.d.mts +17 -1
- package/dist/plugins/relativeTimePlugin.mjs +17 -1
- package/dist/plugins/roundPlugin.cjs +18 -2
- package/dist/plugins/roundPlugin.d.cts +17 -1
- package/dist/plugins/roundPlugin.d.mts +17 -1
- package/dist/plugins/roundPlugin.mjs +18 -2
- package/dist/plugins/seasonPlugin.cjs +17 -1
- package/dist/plugins/seasonPlugin.d.cts +17 -1
- package/dist/plugins/seasonPlugin.d.mts +17 -1
- package/dist/plugins/seasonPlugin.mjs +17 -1
- package/dist/plugins/timeZonePlugin.cjs +20 -4
- package/dist/plugins/timeZonePlugin.d.cts +17 -1
- package/dist/plugins/timeZonePlugin.d.mts +17 -1
- package/dist/plugins/timeZonePlugin.mjs +20 -4
- package/dist/plugins/zodiacPlugin.cjs +18 -2
- package/dist/plugins/zodiacPlugin.d.cts +17 -1
- package/dist/plugins/zodiacPlugin.d.mts +17 -1
- package/dist/plugins/zodiacPlugin.mjs +18 -2
- package/dist/{primitives-BME3_QrA.cjs → primitives-CtuSNmV7.cjs} +16 -0
- package/dist/primitives-dXzXlzJw.mjs +35 -0
- package/dist/{seasons-CcZicoe1.cjs → seasons-B7kK88zq.cjs} +16 -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-CHnjrIKK.mjs → seasons-Cq3ah3pV.mjs} +16 -0
- package/dist/{timezone-DYVJJYKz.cjs → timezone-BNnHFgki.cjs} +16 -0
- package/dist/{timezone-BfBXeMK_.mjs → timezone-Db2CeL32.mjs} +16 -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 +16 -0
- package/dist/{utilities-CtOZhIYv.mjs → utilities-BGX8dviZ.mjs} +21 -5
- package/dist/{utilities-BU4MSYS7.mjs → utilities-BKtVo78T.mjs} +17 -1
- package/dist/{utilities-CGL7F6R9.cjs → utilities-CpF3uys3.cjs} +17 -1
- package/dist/{utilities-bXwTPJaD.cjs → utilities-D47SN9EZ.cjs} +21 -5
- package/dist/utils.cjs +21 -5
- package/dist/utils.d.cts +20 -4
- package/dist/utils.d.mts +20 -4
- package/dist/utils.mjs +21 -5
- package/package.json +10 -4
- package/dist/primitives-DEt6I7Sy.mjs +0 -19
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import { C as $Chronos, Lt as UTCOffset, Mt as TimeZoneIdentifier, Nt as TimeZoneName, Ot as TimeZone, Tn as LooseLiteral } from "../types-CdmsXbU_.cjs";
|
|
2
18
|
|
|
3
19
|
//#region src/plugins/timeZonePlugin.d.ts
|
|
4
20
|
declare module 'chronos-date' {
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import { C as $Chronos, Lt as UTCOffset, Mt as TimeZoneIdentifier, Nt as TimeZoneName, Ot as TimeZone, Tn as LooseLiteral } from "../types-Cb4gxrgJ.mjs";
|
|
2
18
|
|
|
3
19
|
//#region src/plugins/timeZonePlugin.d.ts
|
|
4
20
|
declare module 'chronos-date' {
|
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import { s as INTERNALS } from "../basic-DqKyujoj.mjs";
|
|
18
|
+
import { n as NATIVE_TZ_IDS, o as TIME_ZONE_LABELS, r as TIME_ZONES } from "../timezone-Db2CeL32.mjs";
|
|
3
19
|
import { isValidUTCOffset } from "../guards.mjs";
|
|
4
|
-
import { p as _resolveNativeTzName, s as _gmtToUtcOffset } from "../helpers-
|
|
5
|
-
import { r as extractMinutesFromUTC } from "../utilities-
|
|
20
|
+
import { p as _resolveNativeTzName, s as _gmtToUtcOffset } from "../helpers-DEf4sevD.mjs";
|
|
21
|
+
import { r as extractMinutesFromUTC } from "../utilities-BGX8dviZ.mjs";
|
|
6
22
|
|
|
7
23
|
//#region src/plugins/timeZonePlugin.ts
|
|
8
24
|
/** * Plugin to inject `timeZone` related methods */
|
|
@@ -1,6 +1,22 @@
|
|
|
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
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_basic = require('../basic-
|
|
3
|
-
const require_helpers = require('../helpers-
|
|
18
|
+
const require_basic = require('../basic-DsQqC5nZ.cjs');
|
|
19
|
+
const require_helpers = require('../helpers-CQzi908i.cjs');
|
|
4
20
|
|
|
5
21
|
//#region src/plugins/zodiacPlugin.ts
|
|
6
22
|
/** * Plugin to inject `zodiac` related methods */
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import { C as $Chronos, S as ZodiacSign, b as ZodiacOptions, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-CdmsXbU_.cjs";
|
|
2
18
|
|
|
3
19
|
//#region src/plugins/zodiacPlugin.d.ts
|
|
4
20
|
declare module 'chronos-date' {
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import { C as $Chronos, S as ZodiacSign, b as ZodiacOptions, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-Cb4gxrgJ.mjs";
|
|
2
18
|
|
|
3
19
|
//#region src/plugins/zodiacPlugin.d.ts
|
|
4
20
|
declare module 'chronos-date' {
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import { m as ZODIAC_PRESETS } from "../basic-DqKyujoj.mjs";
|
|
18
|
+
import { f as _padZero } from "../helpers-DEf4sevD.mjs";
|
|
3
19
|
|
|
4
20
|
//#region src/plugins/zodiacPlugin.ts
|
|
5
21
|
/** * Plugin to inject `zodiac` related methods */
|
|
@@ -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
|
|
|
2
18
|
//#region node_modules/.pnpm/nhb-toolbox@4.30.1/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
|
|
3
19
|
function isNumber(value) {
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.1/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
|
|
18
|
+
function isNumber(value) {
|
|
19
|
+
return typeof value === "number" && Number.isFinite(value);
|
|
20
|
+
}
|
|
21
|
+
function isString(value) {
|
|
22
|
+
return typeof value === "string";
|
|
23
|
+
}
|
|
24
|
+
function isBoolean(value) {
|
|
25
|
+
return typeof value === "boolean";
|
|
26
|
+
}
|
|
27
|
+
function isUndefined(value) {
|
|
28
|
+
return value === void 0;
|
|
29
|
+
}
|
|
30
|
+
function isNonEmptyString(value) {
|
|
31
|
+
return isString(value) && value?.length > 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { isUndefined as a, isString as i, isNonEmptyString as n, isNumber as r, isBoolean as t };
|
|
@@ -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
|
|
|
2
18
|
//#region src/constants/seasons.ts
|
|
3
19
|
/** Western Seasons */
|
|
@@ -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;
|
|
@@ -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/seasons.ts
|
|
2
18
|
/** Western Seasons */
|
|
3
19
|
const DEFAULT_SEASONS = /* @__PURE__ */ Object.freeze([
|
|
@@ -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
|
|
|
2
18
|
//#region src/constants/timezone.ts
|
|
3
19
|
/** Record of `212` time-zones (abbreviation of timezone names from {@link https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations time zone abbreviations on Wikipedia}) with respective time-zone offsets and full timezone names. */
|
|
@@ -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/timezone.ts
|
|
2
18
|
/** Record of `212` time-zones (abbreviation of timezone names from {@link https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations time zone abbreviations on Wikipedia}) with respective time-zone offsets and full timezone names. */
|
|
3
19
|
const TIME_ZONES = /* @__PURE__ */ Object.freeze({
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import { A as MILLISECOND_FORMATS, B as ZODIAC_PRESETS, C as DATE_PARTS, D as INTERNALS, E as HOUR_FORMATS, F as TIME_FORMATS, I as TIME_UNIT_VARIANTS, M as MONTHS, N as MONTH_FORMATS, O as LOCALE_CALENDARS, P as SECOND_FORMATS, R as WESTERN_ZODIAC_SIGNS, S as DATE_FORMATS, T as DAY_FORMATS, _ as TIME_ZONE_LABELS, b as BN_MONTH_TABLES, g as TIME_ZONE_IDS, h as TIME_ZONES_NATIVE, j as MINUTE_FORMATS, k as LOCALE_NUMBERING_SYSTEMS, m as TIME_ZONES, u as SEASON_PRESETS, v as BN_DAYS, w as DAYS, x as BN_SEASONS, y as BN_MONTHS, z as YEAR_FORMATS } from "./seasons-B_kjFWIX.mjs";
|
|
2
18
|
|
|
3
19
|
//#region node_modules/.pnpm/nhb-toolbox@4.30.1/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
|
|
4
20
|
/**
|
|
@@ -698,7 +714,7 @@ declare class Chronos {
|
|
|
698
714
|
/** @instance Returns a string representation of a date. */
|
|
699
715
|
toString(): string;
|
|
700
716
|
/** @instance Returns ISO time string in appropriate time zone with offset. */
|
|
701
|
-
toLocalISOString():
|
|
717
|
+
toLocalISOString(): ISODateTimeString<'local'>;
|
|
702
718
|
/** @instance Returns a date as a string value in ISO format (UTC). */
|
|
703
719
|
toISOString(): ISODateTimeString;
|
|
704
720
|
/**
|
|
@@ -1107,8 +1123,8 @@ declare class Chronos {
|
|
|
1107
1123
|
static tomorrow(): Chronos;
|
|
1108
1124
|
/**
|
|
1109
1125
|
* @static Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).
|
|
1110
|
-
* * It basically calls {@link Date.now()}.
|
|
1111
1126
|
* @returns The number of milliseconds elapsed since the Unix epoch.
|
|
1127
|
+
* @remarks It internally uses {@link Date.now()}.
|
|
1112
1128
|
*/
|
|
1113
1129
|
static now(): number;
|
|
1114
1130
|
/**
|
|
@@ -1218,12 +1234,12 @@ declare class Chronos {
|
|
|
1218
1234
|
* - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
|
|
1219
1235
|
* - For example, 2000 and 2400 are leap years, but 1900 and 2100 are not.
|
|
1220
1236
|
*
|
|
1221
|
-
* @
|
|
1222
|
-
* This method accepts different types of date inputs and extracts the year to check if it's a leap year.
|
|
1223
|
-
* If the provided date is a `number`, it will be treated as a year (must be a valid year from 0 to 9999).
|
|
1224
|
-
* If the year is out of this range (negative or larger than 9999), it will be treated as a Unix timestamp.
|
|
1225
|
-
* If the provided date is a string or a `Date` object, it will be parsed and the year will be extracted.
|
|
1226
|
-
* If a `Chronos` instance is passed, the year will be directly accessed from the instance.
|
|
1237
|
+
* @remarks
|
|
1238
|
+
* - This method accepts different types of date inputs and extracts the year to check if it's a leap year.
|
|
1239
|
+
* - If the provided date is a `number`, it will be treated as a year (must be a valid year from 0 to 9999).
|
|
1240
|
+
* - If the year is out of this range (negative or larger than 9999), it will be treated as a Unix timestamp.
|
|
1241
|
+
* - If the provided date is a string or a `Date` object, it will be parsed and the year will be extracted.
|
|
1242
|
+
* - If a `Chronos` instance is passed, the year will be directly accessed from the instance.
|
|
1227
1243
|
*
|
|
1228
1244
|
* @param date - A `number` (year or Unix timestamp), `string`, `Date`, or `Chronos` instance representing a date.
|
|
1229
1245
|
* @returns `true` if the year is a leap year, `false` otherwise.
|
|
@@ -1717,15 +1733,13 @@ type UTCOffset = `UTC${$UTCOffset}`;
|
|
|
1717
1733
|
/** GMT offset in `GMT±HH:mm` or simply `GMT` format */
|
|
1718
1734
|
type $GMTOffset = `GMT${$UTCOffset}` | 'GMT';
|
|
1719
1735
|
type $ISOTimeString = `${number}-${number}-${number}T${number}:${number}:${number}.${number}`;
|
|
1720
|
-
type ISODateTimeString = `${$ISOTimeString}Z`;
|
|
1721
|
-
/** ISO timestamp string type in ISO 8601 format */
|
|
1722
|
-
type ISOTimeString = `${$ISOTimeString}${'Z' | $UTCOffset}`;
|
|
1736
|
+
type ISODateTimeString<F extends ISODateFormat = 'utc'> = F extends 'utc' ? `${$ISOTimeString}Z` : `${$ISOTimeString}${$UTCOffset}`;
|
|
1723
1737
|
/** Valid argument type accepted by `Date` constructor */
|
|
1724
1738
|
type DateArgs = string | number | Date;
|
|
1725
1739
|
/** Type for ISO date format options */
|
|
1726
1740
|
type ISODateFormat = 'local' | 'utc';
|
|
1727
1741
|
/** Options for `getTimestamp` utility */
|
|
1728
|
-
interface TimestampOptions {
|
|
1742
|
+
interface TimestampOptions<F extends ISODateFormat = 'utc'> {
|
|
1729
1743
|
/**
|
|
1730
1744
|
* Optional date input (string, number, or `Date` object).
|
|
1731
1745
|
* Defaults to {@link Date new Date()}.
|
|
@@ -1736,7 +1750,7 @@ interface TimestampOptions {
|
|
|
1736
1750
|
* - `'utc'` (default) → returns ISO string in UTC (`...Z`).
|
|
1737
1751
|
* - `'local'` → returns ISO string with current system offset (`...+05:30`).
|
|
1738
1752
|
*/
|
|
1739
|
-
format?: ISODateFormat;
|
|
1753
|
+
format?: F | ISODateFormat;
|
|
1740
1754
|
}
|
|
1741
1755
|
/** `Chronos` Date Format options */
|
|
1742
1756
|
interface FormatOptions {
|
|
@@ -2120,4 +2134,4 @@ interface DurationOptions {
|
|
|
2120
2134
|
showZero?: boolean;
|
|
2121
2135
|
}
|
|
2122
2136
|
//#endregion
|
|
2123
|
-
export { ChronosStaticKey as $,
|
|
2137
|
+
export { ChronosStaticKey as $, BanglaDayName as $t, ChronosObject as A, TimeZoneId as At, WithoutOrigin as B, Chronos as Bt, $Chronos as C, Enumerate as Cn, PositiveUTCHour as Ct, ChronosInput as D, TimeWithUnit as Dt, $StaticMethods as E, RangeTuple as En, TimeUnitValue as Et, PluginMethods as F, TimestampOptions as Ft, $NativeTzNameOrId as G, $BnDatePadded as Gt, $GMTOffset as H, $BanglaMonth as Ht, RangeWithDates as I, UTCMinute as It, $TimeUnitVar as J, $BnYearPadded as Jt, $TZLabelKey as K, $BnEn as Kt, RelativeDateRange as L, UTCOffset as Lt, ChronosWithOptions as M, TimeZoneIdentifier as Mt, DateRangeOptions as N, TimeZoneName as Nt, ChronosInternals as O, TimeZone as Ot, DatesInRangeOptions as P, TimeZoneNameNative as Pt, $UnitAnyCase as Q, BanglaDateOptions as Qt, RelativeRangeOptions as R, WeekDay as Rt, ZodiacSign as S, Numeric as Sn, NumberingSystem as St, $PluginMethods as T, LooseLiteral as Tn, TimeUnit as Tt, $ISOTimeString as U, $BanglaMonthDate as Ut, $DateUnit as V, chronos as Vt, $LocalArguments as W, $BanglaYear as Wt, $TimeZoneIdentifier as X, BanglaDateFormat as Xt, $TimeUnitVarMap as Y, BanglaDate as Yt, $UTCOffset as Z, BanglaDateObject as Zt, ZodiacArray as _, TimeFormatToken as _n, Milliseconds as _t, BusinessOptionsWeekends as a, BnCalendarVariant as an, DateFormatOptions as at, ZodiacOptions as b, YearToken as bn, MonthString as bt, DayPart as c, DateToken as cn, DateTimeFormatOptions as ct, DurationOptions as d, HourToken as dn, GreetingConfigs as dt, BanglaMonth as en, ClockHour as et, MonthBoundary as f, MSToken as fn, HourMinutes as ft, TimeDuration as g, StrictFormat as gn, LocalesArguments as gt, SeasonPreset as h, SecondToken as hn, LocaleCalendar as ht, BusinessOptionsBasic as i, BnCalendarConfig as in, DateArgs as it, ChronosProperties as j, TimeZoneIdNative as jt, ChronosMethods as k, TimeZoneDetails as kt, DayPartConfig as l, DayToken as ln, FormatOptions as lt, SeasonOptions as m, MonthToken as mn, ISODateTimeString as mt, $BusinessHourOptions as n, BanglaSeasonName as nn, ClockSecond as nt, ChronosPlugin as o, DateWithSeasonToken as on, DateLike as ot, SeasonDefinition as p, MinuteToken as pn, ISODateFormat as pt, $TimeUnitKey as q, $BnMonthPadded as qt, AcademicYear as r, BanglaYear as rn, ClockTime as rt, DateBoundary as s, DateFormatToken as sn, DateString as st, $BusinessHourBaseOptions as t, BanglaMonthName as tn, ClockMinute as tt, DurationKey as u, FormatToken as un, FromNowUnit as ut, ZodiacMeta as v, TimeOnlyFormat as vn, MonthDateString as vt, $InstanceMethods as w, NumberRange as wn, Quarter as wt, ZodiacPreset as x, Maybe as xn, NegativeUTCHour as xt, ZodiacMetaOptions as y, TimeToken as yn, MonthName as yt, WeekdayOptions as z, ChronosStatics as zt };
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
import { A as MILLISECOND_FORMATS, B as ZODIAC_PRESETS, C as DATE_PARTS, D as INTERNALS, E as HOUR_FORMATS, F as TIME_FORMATS, I as TIME_UNIT_VARIANTS, M as MONTHS, N as MONTH_FORMATS, O as LOCALE_CALENDARS, P as SECOND_FORMATS, R as WESTERN_ZODIAC_SIGNS, S as DATE_FORMATS, T as DAY_FORMATS, _ as TIME_ZONE_LABELS, b as BN_MONTH_TABLES, g as TIME_ZONE_IDS, h as TIME_ZONES_NATIVE, j as MINUTE_FORMATS, k as LOCALE_NUMBERING_SYSTEMS, m as TIME_ZONES, u as SEASON_PRESETS, v as BN_DAYS, w as DAYS, x as BN_SEASONS, y as BN_MONTHS, z as YEAR_FORMATS } from "./seasons-CpUn45n6.cjs";
|
|
2
18
|
|
|
3
19
|
//#region node_modules/.pnpm/nhb-toolbox@4.30.1/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
|
|
4
20
|
/**
|
|
@@ -698,7 +714,7 @@ declare class Chronos {
|
|
|
698
714
|
/** @instance Returns a string representation of a date. */
|
|
699
715
|
toString(): string;
|
|
700
716
|
/** @instance Returns ISO time string in appropriate time zone with offset. */
|
|
701
|
-
toLocalISOString():
|
|
717
|
+
toLocalISOString(): ISODateTimeString<'local'>;
|
|
702
718
|
/** @instance Returns a date as a string value in ISO format (UTC). */
|
|
703
719
|
toISOString(): ISODateTimeString;
|
|
704
720
|
/**
|
|
@@ -1107,8 +1123,8 @@ declare class Chronos {
|
|
|
1107
1123
|
static tomorrow(): Chronos;
|
|
1108
1124
|
/**
|
|
1109
1125
|
* @static Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).
|
|
1110
|
-
* * It basically calls {@link Date.now()}.
|
|
1111
1126
|
* @returns The number of milliseconds elapsed since the Unix epoch.
|
|
1127
|
+
* @remarks It internally uses {@link Date.now()}.
|
|
1112
1128
|
*/
|
|
1113
1129
|
static now(): number;
|
|
1114
1130
|
/**
|
|
@@ -1218,12 +1234,12 @@ declare class Chronos {
|
|
|
1218
1234
|
* - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
|
|
1219
1235
|
* - For example, 2000 and 2400 are leap years, but 1900 and 2100 are not.
|
|
1220
1236
|
*
|
|
1221
|
-
* @
|
|
1222
|
-
* This method accepts different types of date inputs and extracts the year to check if it's a leap year.
|
|
1223
|
-
* If the provided date is a `number`, it will be treated as a year (must be a valid year from 0 to 9999).
|
|
1224
|
-
* If the year is out of this range (negative or larger than 9999), it will be treated as a Unix timestamp.
|
|
1225
|
-
* If the provided date is a string or a `Date` object, it will be parsed and the year will be extracted.
|
|
1226
|
-
* If a `Chronos` instance is passed, the year will be directly accessed from the instance.
|
|
1237
|
+
* @remarks
|
|
1238
|
+
* - This method accepts different types of date inputs and extracts the year to check if it's a leap year.
|
|
1239
|
+
* - If the provided date is a `number`, it will be treated as a year (must be a valid year from 0 to 9999).
|
|
1240
|
+
* - If the year is out of this range (negative or larger than 9999), it will be treated as a Unix timestamp.
|
|
1241
|
+
* - If the provided date is a string or a `Date` object, it will be parsed and the year will be extracted.
|
|
1242
|
+
* - If a `Chronos` instance is passed, the year will be directly accessed from the instance.
|
|
1227
1243
|
*
|
|
1228
1244
|
* @param date - A `number` (year or Unix timestamp), `string`, `Date`, or `Chronos` instance representing a date.
|
|
1229
1245
|
* @returns `true` if the year is a leap year, `false` otherwise.
|
|
@@ -1717,15 +1733,13 @@ type UTCOffset = `UTC${$UTCOffset}`;
|
|
|
1717
1733
|
/** GMT offset in `GMT±HH:mm` or simply `GMT` format */
|
|
1718
1734
|
type $GMTOffset = `GMT${$UTCOffset}` | 'GMT';
|
|
1719
1735
|
type $ISOTimeString = `${number}-${number}-${number}T${number}:${number}:${number}.${number}`;
|
|
1720
|
-
type ISODateTimeString = `${$ISOTimeString}Z`;
|
|
1721
|
-
/** ISO timestamp string type in ISO 8601 format */
|
|
1722
|
-
type ISOTimeString = `${$ISOTimeString}${'Z' | $UTCOffset}`;
|
|
1736
|
+
type ISODateTimeString<F extends ISODateFormat = 'utc'> = F extends 'utc' ? `${$ISOTimeString}Z` : `${$ISOTimeString}${$UTCOffset}`;
|
|
1723
1737
|
/** Valid argument type accepted by `Date` constructor */
|
|
1724
1738
|
type DateArgs = string | number | Date;
|
|
1725
1739
|
/** Type for ISO date format options */
|
|
1726
1740
|
type ISODateFormat = 'local' | 'utc';
|
|
1727
1741
|
/** Options for `getTimestamp` utility */
|
|
1728
|
-
interface TimestampOptions {
|
|
1742
|
+
interface TimestampOptions<F extends ISODateFormat = 'utc'> {
|
|
1729
1743
|
/**
|
|
1730
1744
|
* Optional date input (string, number, or `Date` object).
|
|
1731
1745
|
* Defaults to {@link Date new Date()}.
|
|
@@ -1736,7 +1750,7 @@ interface TimestampOptions {
|
|
|
1736
1750
|
* - `'utc'` (default) → returns ISO string in UTC (`...Z`).
|
|
1737
1751
|
* - `'local'` → returns ISO string with current system offset (`...+05:30`).
|
|
1738
1752
|
*/
|
|
1739
|
-
format?: ISODateFormat;
|
|
1753
|
+
format?: F | ISODateFormat;
|
|
1740
1754
|
}
|
|
1741
1755
|
/** `Chronos` Date Format options */
|
|
1742
1756
|
interface FormatOptions {
|
|
@@ -2120,4 +2134,4 @@ interface DurationOptions {
|
|
|
2120
2134
|
showZero?: boolean;
|
|
2121
2135
|
}
|
|
2122
2136
|
//#endregion
|
|
2123
|
-
export { ChronosStaticKey as $,
|
|
2137
|
+
export { ChronosStaticKey as $, BanglaDayName as $t, ChronosObject as A, TimeZoneId as At, WithoutOrigin as B, Chronos as Bt, $Chronos as C, Enumerate as Cn, PositiveUTCHour as Ct, ChronosInput as D, TimeWithUnit as Dt, $StaticMethods as E, RangeTuple as En, TimeUnitValue as Et, PluginMethods as F, TimestampOptions as Ft, $NativeTzNameOrId as G, $BnDatePadded as Gt, $GMTOffset as H, $BanglaMonth as Ht, RangeWithDates as I, UTCMinute as It, $TimeUnitVar as J, $BnYearPadded as Jt, $TZLabelKey as K, $BnEn as Kt, RelativeDateRange as L, UTCOffset as Lt, ChronosWithOptions as M, TimeZoneIdentifier as Mt, DateRangeOptions as N, TimeZoneName as Nt, ChronosInternals as O, TimeZone as Ot, DatesInRangeOptions as P, TimeZoneNameNative as Pt, $UnitAnyCase as Q, BanglaDateOptions as Qt, RelativeRangeOptions as R, WeekDay as Rt, ZodiacSign as S, Numeric as Sn, NumberingSystem as St, $PluginMethods as T, LooseLiteral as Tn, TimeUnit as Tt, $ISOTimeString as U, $BanglaMonthDate as Ut, $DateUnit as V, chronos as Vt, $LocalArguments as W, $BanglaYear as Wt, $TimeZoneIdentifier as X, BanglaDateFormat as Xt, $TimeUnitVarMap as Y, BanglaDate as Yt, $UTCOffset as Z, BanglaDateObject as Zt, ZodiacArray as _, TimeFormatToken as _n, Milliseconds as _t, BusinessOptionsWeekends as a, BnCalendarVariant as an, DateFormatOptions as at, ZodiacOptions as b, YearToken as bn, MonthString as bt, DayPart as c, DateToken as cn, DateTimeFormatOptions as ct, DurationOptions as d, HourToken as dn, GreetingConfigs as dt, BanglaMonth as en, ClockHour as et, MonthBoundary as f, MSToken as fn, HourMinutes as ft, TimeDuration as g, StrictFormat as gn, LocalesArguments as gt, SeasonPreset as h, SecondToken as hn, LocaleCalendar as ht, BusinessOptionsBasic as i, BnCalendarConfig as in, DateArgs as it, ChronosProperties as j, TimeZoneIdNative as jt, ChronosMethods as k, TimeZoneDetails as kt, DayPartConfig as l, DayToken as ln, FormatOptions as lt, SeasonOptions as m, MonthToken as mn, ISODateTimeString as mt, $BusinessHourOptions as n, BanglaSeasonName as nn, ClockSecond as nt, ChronosPlugin as o, DateWithSeasonToken as on, DateLike as ot, SeasonDefinition as p, MinuteToken as pn, ISODateFormat as pt, $TimeUnitKey as q, $BnMonthPadded as qt, AcademicYear as r, BanglaYear as rn, ClockTime as rt, DateBoundary as s, DateFormatToken as sn, DateString as st, $BusinessHourBaseOptions as t, BanglaMonthName as tn, ClockMinute as tt, DurationKey as u, FormatToken as un, FromNowUnit as ut, ZodiacMeta as v, TimeOnlyFormat as vn, MonthDateString as vt, $InstanceMethods as w, NumberRange as wn, Quarter as wt, ZodiacPreset as x, Maybe as xn, NegativeUTCHour as xt, ZodiacMetaOptions as y, TimeToken as yn, MonthName as yt, WeekdayOptions as z, ChronosStatics as zt };
|
package/dist/types.cjs
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
|
package/dist/types.d.cts
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import { $ as ChronosStaticKey, $t as BanglaDayName, A as ChronosObject, At as TimeZoneId, B as WithoutOrigin, C as $Chronos, Ct as PositiveUTCHour, D as ChronosInput, Dt as TimeWithUnit, E as $StaticMethods, Et as TimeUnitValue, F as PluginMethods, Ft as TimestampOptions, G as $NativeTzNameOrId, Gt as $BnDatePadded, H as $GMTOffset, Ht as $BanglaMonth, I as RangeWithDates, It as UTCMinute, J as $TimeUnitVar, Jt as $BnYearPadded, K as $TZLabelKey, Kt as $BnEn, L as RelativeDateRange, Lt as UTCOffset, M as ChronosWithOptions, Mt as TimeZoneIdentifier, N as DateRangeOptions, Nt as TimeZoneName, O as ChronosInternals, Ot as TimeZone, P as DatesInRangeOptions, Pt as TimeZoneNameNative, Q as $UnitAnyCase, Qt as BanglaDateOptions, R as RelativeRangeOptions, Rt as WeekDay, S as ZodiacSign, St as NumberingSystem, T as $PluginMethods, Tt as TimeUnit, U as $ISOTimeString, Ut as $BanglaMonthDate, V as $DateUnit, W as $LocalArguments, Wt as $BanglaYear, X as $TimeZoneIdentifier, Xt as BanglaDateFormat, Y as $TimeUnitVarMap, Yt as BanglaDate, Z as $UTCOffset, Zt as BanglaDateObject, _ as ZodiacArray, _n as TimeFormatToken, _t as Milliseconds, a as BusinessOptionsWeekends, an as BnCalendarVariant, at as DateFormatOptions, b as ZodiacOptions, bn as YearToken, bt as MonthString, c as DayPart, cn as DateToken, ct as DateTimeFormatOptions, d as DurationOptions, dn as HourToken, dt as GreetingConfigs, en as BanglaMonth, et as ClockHour, f as MonthBoundary, fn as MSToken, ft as HourMinutes, g as TimeDuration, gn as StrictFormat, gt as LocalesArguments, h as SeasonPreset, hn as SecondToken, ht as LocaleCalendar, i as BusinessOptionsBasic, in as BnCalendarConfig, it as DateArgs, j as ChronosProperties, jt as TimeZoneIdNative, k as ChronosMethods, kt as TimeZoneDetails, l as DayPartConfig, ln as DayToken, lt as FormatOptions, m as SeasonOptions, mn as MonthToken, mt as ISODateTimeString, n as $BusinessHourOptions, nn as BanglaSeasonName, nt as ClockSecond, o as ChronosPlugin, on as DateWithSeasonToken, ot as DateLike, p as SeasonDefinition, pn as MinuteToken, pt as ISODateFormat, q as $TimeUnitKey, qt as $BnMonthPadded, r as AcademicYear, rn as BanglaYear, rt as ClockTime, s as DateBoundary, sn as DateFormatToken, st as DateString, t as $BusinessHourBaseOptions, tn as BanglaMonthName, tt as ClockMinute, u as DurationKey, un as FormatToken, ut as FromNowUnit, v as ZodiacMeta, vn as TimeOnlyFormat, vt as MonthDateString, w as $InstanceMethods, wt as Quarter, x as ZodiacPreset, xt as NegativeUTCHour, y as ZodiacMetaOptions, yn as TimeToken, yt as MonthName, z as WeekdayOptions, zt as ChronosStatics } from "./types-CdmsXbU_.cjs";
|
|
18
|
+
export { $BanglaMonth, $BanglaMonthDate, $BanglaYear, $BnDatePadded, $BnEn, $BnMonthPadded, $BnYearPadded, $BusinessHourBaseOptions, $BusinessHourOptions, $Chronos, $DateUnit, $GMTOffset, $ISOTimeString, $InstanceMethods, $LocalArguments, $NativeTzNameOrId, $PluginMethods, $StaticMethods, $TZLabelKey, $TimeUnitKey, $TimeUnitVar, $TimeUnitVarMap, $TimeZoneIdentifier, $UTCOffset, $UnitAnyCase, AcademicYear, BanglaDate, BanglaDateFormat, BanglaDateObject, BanglaDateOptions, BanglaDayName, BanglaMonth, BanglaMonthName, BanglaSeasonName, BanglaYear, BnCalendarConfig, BnCalendarVariant, BusinessOptionsBasic, BusinessOptionsWeekends, ChronosInput, ChronosInternals, ChronosMethods, ChronosObject, ChronosPlugin, ChronosProperties, ChronosStaticKey, ChronosStatics, ChronosWithOptions, ClockHour, ClockMinute, ClockSecond, ClockTime, DateArgs, DateBoundary, DateFormatOptions, DateFormatToken, DateLike, DateRangeOptions, DateString, DateTimeFormatOptions, DateToken, DateWithSeasonToken, DatesInRangeOptions, DayPart, DayPartConfig, DayToken, DurationKey, DurationOptions, FormatOptions, FormatToken, FromNowUnit, GreetingConfigs, HourMinutes, HourToken, ISODateFormat, ISODateTimeString, LocaleCalendar, LocalesArguments, MSToken, Milliseconds, MinuteToken, MonthBoundary, MonthDateString, MonthName, MonthString, MonthToken, NegativeUTCHour, NumberingSystem, PluginMethods, PositiveUTCHour, Quarter, RangeWithDates, RelativeDateRange, RelativeRangeOptions, SeasonDefinition, SeasonOptions, SeasonPreset, SecondToken, StrictFormat, TimeDuration, TimeFormatToken, TimeOnlyFormat, TimeToken, TimeUnit, TimeUnitValue, TimeWithUnit, TimeZone, TimeZoneDetails, TimeZoneId, TimeZoneIdNative, TimeZoneIdentifier, TimeZoneName, TimeZoneNameNative, TimestampOptions, UTCMinute, UTCOffset, WeekDay, WeekdayOptions, WithoutOrigin, YearToken, ZodiacArray, ZodiacMeta, ZodiacMetaOptions, ZodiacOptions, ZodiacPreset, ZodiacSign };
|