chronos-date 1.1.0 → 1.1.2

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.
Files changed (98) hide show
  1. package/dist/{basic-Dputob9z.mjs → basic-DqKyujoj.mjs} +16 -0
  2. package/dist/{basic-DIp_pxR2.cjs → basic-DsQqC5nZ.cjs} +16 -0
  3. package/dist/constants.cjs +19 -3
  4. package/dist/constants.d.cts +17 -1
  5. package/dist/constants.d.mts +17 -1
  6. package/dist/constants.mjs +19 -3
  7. package/dist/{convert-dQuGWhVm.cjs → convert-DbgntRVW.cjs} +17 -1
  8. package/dist/{convert-CNVL-mop.mjs → convert-mMaI4YP0.mjs} +17 -1
  9. package/dist/{greet-B9j4afzD.mjs → greet-D07t2_e6.mjs} +17 -1
  10. package/dist/{greet-B8ZtypgG.cjs → greet-hjVsd2dt.cjs} +17 -1
  11. package/dist/guards.cjs +32 -11
  12. package/dist/guards.d.cts +18 -2
  13. package/dist/guards.d.mts +18 -2
  14. package/dist/guards.mjs +32 -11
  15. package/dist/{helpers-M_SfAbAv.cjs → helpers-CQzi908i.cjs} +20 -4
  16. package/dist/{helpers-CrMc9iJZ.mjs → helpers-DEf4sevD.mjs} +20 -4
  17. package/dist/index.cjs +42 -26
  18. package/dist/index.d.cts +18 -2
  19. package/dist/index.d.mts +18 -2
  20. package/dist/index.mjs +43 -27
  21. package/dist/{non-primitives-CT4vszrX.cjs → non-primitives-D9zxCwX8.cjs} +16 -0
  22. package/dist/{non-primitives-DrQfPj1r.mjs → non-primitives-DBtomDty.mjs} +16 -0
  23. package/dist/plugins/banglaPlugin.cjs +21 -5
  24. package/dist/plugins/banglaPlugin.d.cts +19 -3
  25. package/dist/plugins/banglaPlugin.d.mts +19 -3
  26. package/dist/plugins/banglaPlugin.mjs +21 -5
  27. package/dist/plugins/businessPlugin.cjs +19 -3
  28. package/dist/plugins/businessPlugin.d.cts +17 -1
  29. package/dist/plugins/businessPlugin.d.mts +17 -1
  30. package/dist/plugins/businessPlugin.mjs +19 -3
  31. package/dist/plugins/dateRangePlugin.cjs +19 -3
  32. package/dist/plugins/dateRangePlugin.d.cts +21 -5
  33. package/dist/plugins/dateRangePlugin.d.mts +21 -5
  34. package/dist/plugins/dateRangePlugin.mjs +19 -3
  35. package/dist/plugins/dayPartPlugin.cjs +18 -2
  36. package/dist/plugins/dayPartPlugin.d.cts +17 -1
  37. package/dist/plugins/dayPartPlugin.d.mts +17 -1
  38. package/dist/plugins/dayPartPlugin.mjs +18 -2
  39. package/dist/plugins/durationPlugin.cjs +17 -1
  40. package/dist/plugins/durationPlugin.d.cts +17 -1
  41. package/dist/plugins/durationPlugin.d.mts +17 -1
  42. package/dist/plugins/durationPlugin.mjs +17 -1
  43. package/dist/plugins/fromNowPlugin.cjs +18 -2
  44. package/dist/plugins/fromNowPlugin.d.cts +17 -1
  45. package/dist/plugins/fromNowPlugin.d.mts +17 -1
  46. package/dist/plugins/fromNowPlugin.mjs +18 -2
  47. package/dist/plugins/greetingPlugin.cjs +17 -1
  48. package/dist/plugins/greetingPlugin.d.cts +18 -2
  49. package/dist/plugins/greetingPlugin.d.mts +18 -2
  50. package/dist/plugins/greetingPlugin.mjs +17 -1
  51. package/dist/plugins/palindromePlugin.cjs +17 -1
  52. package/dist/plugins/palindromePlugin.d.cts +17 -1
  53. package/dist/plugins/palindromePlugin.d.mts +17 -1
  54. package/dist/plugins/palindromePlugin.mjs +17 -1
  55. package/dist/plugins/relativeTimePlugin.cjs +17 -1
  56. package/dist/plugins/relativeTimePlugin.d.cts +17 -1
  57. package/dist/plugins/relativeTimePlugin.d.mts +17 -1
  58. package/dist/plugins/relativeTimePlugin.mjs +17 -1
  59. package/dist/plugins/roundPlugin.cjs +19 -3
  60. package/dist/plugins/roundPlugin.d.cts +17 -1
  61. package/dist/plugins/roundPlugin.d.mts +17 -1
  62. package/dist/plugins/roundPlugin.mjs +19 -3
  63. package/dist/plugins/seasonPlugin.cjs +17 -1
  64. package/dist/plugins/seasonPlugin.d.cts +18 -2
  65. package/dist/plugins/seasonPlugin.d.mts +18 -2
  66. package/dist/plugins/seasonPlugin.mjs +17 -1
  67. package/dist/plugins/timeZonePlugin.cjs +20 -4
  68. package/dist/plugins/timeZonePlugin.d.cts +17 -1
  69. package/dist/plugins/timeZonePlugin.d.mts +17 -1
  70. package/dist/plugins/timeZonePlugin.mjs +20 -4
  71. package/dist/plugins/zodiacPlugin.cjs +18 -2
  72. package/dist/plugins/zodiacPlugin.d.cts +18 -2
  73. package/dist/plugins/zodiacPlugin.d.mts +18 -2
  74. package/dist/plugins/zodiacPlugin.mjs +18 -2
  75. package/dist/{primitives-BME3_QrA.cjs → primitives-CtuSNmV7.cjs} +16 -0
  76. package/dist/primitives-dXzXlzJw.mjs +35 -0
  77. package/dist/{seasons-CcZicoe1.cjs → seasons-B7kK88zq.cjs} +16 -0
  78. package/dist/{seasons-CioTH5Dm.d.mts → seasons-B_kjFWIX.d.mts} +16 -0
  79. package/dist/{seasons-CsVeJ27s.d.cts → seasons-CpUn45n6.d.cts} +16 -0
  80. package/dist/{seasons-CHnjrIKK.mjs → seasons-Cq3ah3pV.mjs} +16 -0
  81. package/dist/{timezone-DYVJJYKz.cjs → timezone-BNnHFgki.cjs} +16 -0
  82. package/dist/{timezone-BfBXeMK_.mjs → timezone-Db2CeL32.mjs} +16 -0
  83. package/dist/{types-B2fgrJ86.d.mts → types-Bs_rfkka.d.mts} +46 -32
  84. package/dist/{types-DPTQ_yLx.d.cts → types-CaVuY1_4.d.cts} +46 -32
  85. package/dist/types.cjs +16 -0
  86. package/dist/types.d.cts +18 -2
  87. package/dist/types.d.mts +18 -2
  88. package/dist/types.mjs +16 -0
  89. package/dist/{utilities-CtOZhIYv.mjs → utilities-BGX8dviZ.mjs} +21 -5
  90. package/dist/{utilities-BU4MSYS7.mjs → utilities-BKtVo78T.mjs} +17 -1
  91. package/dist/{utilities-CGL7F6R9.cjs → utilities-CpF3uys3.cjs} +17 -1
  92. package/dist/{utilities-bXwTPJaD.cjs → utilities-D47SN9EZ.cjs} +21 -5
  93. package/dist/utils.cjs +21 -5
  94. package/dist/utils.d.cts +20 -4
  95. package/dist/utils.d.mts +20 -4
  96. package/dist/utils.mjs +21 -5
  97. package/package.json +10 -4
  98. package/dist/primitives-DEt6I7Sy.mjs +0 -19
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, D as ChronosInput, Dn as RangeTuple, Tn as NumberRange, Tt as Quarter, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, r as AcademicYear, wn as Enumerate } from "../types-DPTQ_yLx.cjs";
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, Cn as Enumerate, D as ChronosInput, En as RangeTuple, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, r as AcademicYear, wn as NumberRange, wt as Quarter } from "../types-CaVuY1_4.cjs";
2
18
 
3
19
  //#region src/plugins/businessPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, D as ChronosInput, Dn as RangeTuple, Tn as NumberRange, Tt as Quarter, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, r as AcademicYear, wn as Enumerate } from "../types-B2fgrJ86.mjs";
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, Cn as Enumerate, D as ChronosInput, En as RangeTuple, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, r as AcademicYear, wn as NumberRange, wt as Quarter } from "../types-Bs_rfkka.mjs";
2
18
 
3
19
  //#region src/plugins/businessPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,6 +1,22 @@
1
- import { s as INTERNALS } from "../basic-Dputob9z.mjs";
2
- import { a as isUndefined } from "../primitives-DEt6I7Sy.mjs";
3
- import { a as isValidArray } from "../non-primitives-DrQfPj1r.mjs";
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 { a as isUndefined } from "../primitives-dXzXlzJw.mjs";
19
+ import { a as isValidArray } from "../non-primitives-DBtomDty.mjs";
4
20
 
5
21
  //#region src/plugins/businessPlugin.ts
6
22
  /** * Plugin to inject `business` related methods */
@@ -1,7 +1,23 @@
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-DIp_pxR2.cjs');
3
- const require_primitives = require('../primitives-BME3_QrA.cjs');
4
- const require_non_primitives = require('../non-primitives-CT4vszrX.cjs');
18
+ const require_basic = require('../basic-DsQqC5nZ.cjs');
19
+ const require_primitives = require('../primitives-CtuSNmV7.cjs');
20
+ const require_non_primitives = require('../non-primitives-D9zxCwX8.cjs');
5
21
 
6
22
  //#region src/plugins/dateRangePlugin.ts
7
23
  /** * Plugin to inject `getDatesInRange` related method */
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, I as RangeWithDates, L as RelativeDateRange, ht as ISOTimeString } from "../types-DPTQ_yLx.cjs";
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, I as RangeWithDates, L as RelativeDateRange, mt as ISODateTimeString } from "../types-CaVuY1_4.cjs";
2
18
 
3
19
  //#region src/plugins/dateRangePlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -13,7 +29,7 @@ declare module 'chronos-date' {
13
29
  * @param options - Configuration for the date range. Accepts a fixed (`RangeWithDates`) format.
14
30
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
15
31
  *
16
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/Chronos/calculation#getdatesinrange docs} for details.
32
+ * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
17
33
  *
18
34
  * @remarks
19
35
  * - When using `Chronos` instances for `from` and/or `to`, ensure both are created in the **same time zone** to avoid mismatched boundaries.
@@ -34,7 +50,7 @@ declare module 'chronos-date' {
34
50
  * new Chronos().getDatesInRange({ span: 2, unit: 'day', format: 'utc' });
35
51
  * // → ['2025-06-16T00:00:00.000Z', '2025-06-17T00:00:00.000Z']
36
52
  */
37
- getDatesInRange(options?: RangeWithDates): ISOTimeString[];
53
+ getDatesInRange(options?: RangeWithDates): ISODateTimeString<'local' | 'utc'>[];
38
54
  /**
39
55
  * @instance Returns an array of ISO date-time strings within a specific date range.
40
56
  *
@@ -45,7 +61,7 @@ declare module 'chronos-date' {
45
61
  * @param options - Configuration for the date range. Accepts a relative (`RelativeDateRange`) format.
46
62
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
47
63
  *
48
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/Chronos/calculation#getdatesinrange docs} for details.
64
+ * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
49
65
  *
50
66
  * @example
51
67
  * // Using a relative date range with skipDays:
@@ -62,7 +78,7 @@ declare module 'chronos-date' {
62
78
  * new Chronos().getDatesInRange({ from: '2025-01-01', to: '2025-01-03' });
63
79
  * // → ['2025-01-01T00:00:00+06:00', '2025-01-02T00:00:00+06:00', '2025-01-03T00:00:00+06:00']
64
80
  */
65
- getDatesInRange(options?: RelativeDateRange): ISOTimeString[];
81
+ getDatesInRange(options?: RelativeDateRange): ISODateTimeString<'local' | 'utc'>[];
66
82
  }
67
83
  }
68
84
  /** * Plugin to inject `getDatesInRange` related method */
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, I as RangeWithDates, L as RelativeDateRange, ht as ISOTimeString } from "../types-B2fgrJ86.mjs";
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, I as RangeWithDates, L as RelativeDateRange, mt as ISODateTimeString } from "../types-Bs_rfkka.mjs";
2
18
 
3
19
  //#region src/plugins/dateRangePlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -13,7 +29,7 @@ declare module 'chronos-date' {
13
29
  * @param options - Configuration for the date range. Accepts a fixed (`RangeWithDates`) format.
14
30
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
15
31
  *
16
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/Chronos/calculation#getdatesinrange docs} for details.
32
+ * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
17
33
  *
18
34
  * @remarks
19
35
  * - When using `Chronos` instances for `from` and/or `to`, ensure both are created in the **same time zone** to avoid mismatched boundaries.
@@ -34,7 +50,7 @@ declare module 'chronos-date' {
34
50
  * new Chronos().getDatesInRange({ span: 2, unit: 'day', format: 'utc' });
35
51
  * // → ['2025-06-16T00:00:00.000Z', '2025-06-17T00:00:00.000Z']
36
52
  */
37
- getDatesInRange(options?: RangeWithDates): ISOTimeString[];
53
+ getDatesInRange(options?: RangeWithDates): ISODateTimeString<'local' | 'utc'>[];
38
54
  /**
39
55
  * @instance Returns an array of ISO date-time strings within a specific date range.
40
56
  *
@@ -45,7 +61,7 @@ declare module 'chronos-date' {
45
61
  * @param options - Configuration for the date range. Accepts a relative (`RelativeDateRange`) format.
46
62
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
47
63
  *
48
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/Chronos/calculation#getdatesinrange docs} for details.
64
+ * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
49
65
  *
50
66
  * @example
51
67
  * // Using a relative date range with skipDays:
@@ -62,7 +78,7 @@ declare module 'chronos-date' {
62
78
  * new Chronos().getDatesInRange({ from: '2025-01-01', to: '2025-01-03' });
63
79
  * // → ['2025-01-01T00:00:00+06:00', '2025-01-02T00:00:00+06:00', '2025-01-03T00:00:00+06:00']
64
80
  */
65
- getDatesInRange(options?: RelativeDateRange): ISOTimeString[];
81
+ getDatesInRange(options?: RelativeDateRange): ISODateTimeString<'local' | 'utc'>[];
66
82
  }
67
83
  }
68
84
  /** * Plugin to inject `getDatesInRange` related method */
@@ -1,6 +1,22 @@
1
- import { o as DAYS, s as INTERNALS, u as MS_PER_DAY } from "../basic-Dputob9z.mjs";
2
- import { r as isNumber } from "../primitives-DEt6I7Sy.mjs";
3
- import { a as isValidArray } from "../non-primitives-DrQfPj1r.mjs";
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 { o as DAYS, s as INTERNALS, u as MS_PER_DAY } from "../basic-DqKyujoj.mjs";
18
+ import { r as isNumber } from "../primitives-dXzXlzJw.mjs";
19
+ import { a as isValidArray } from "../non-primitives-DBtomDty.mjs";
4
20
 
5
21
  //#region src/plugins/dateRangePlugin.ts
6
22
  /** * Plugin to inject `getDatesInRange` related method */
@@ -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-DIp_pxR2.cjs');
3
- const require_non_primitives = require('../non-primitives-CT4vszrX.cjs');
18
+ const require_basic = require('../basic-DsQqC5nZ.cjs');
19
+ const require_non_primitives = require('../non-primitives-D9zxCwX8.cjs');
4
20
 
5
21
  //#region src/plugins/dayPartPlugin.ts
6
22
  /** * Plugin to inject `getPartOfDay` method */
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, c as DayPart, l as DayPartConfig } from "../types-DPTQ_yLx.cjs";
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, c as DayPart, l as DayPartConfig } from "../types-CaVuY1_4.cjs";
2
18
 
3
19
  //#region src/plugins/dayPartPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, c as DayPart, l as DayPartConfig } from "../types-B2fgrJ86.mjs";
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, c as DayPart, l as DayPartConfig } from "../types-Bs_rfkka.mjs";
2
18
 
3
19
  //#region src/plugins/dayPartPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,5 +1,21 @@
1
- import { a as DATE_PART_RANGES } from "../basic-Dputob9z.mjs";
2
- import { n as isNotEmptyObject } from "../non-primitives-DrQfPj1r.mjs";
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 DATE_PART_RANGES } from "../basic-DqKyujoj.mjs";
18
+ import { n as isNotEmptyObject } from "../non-primitives-DBtomDty.mjs";
3
19
 
4
20
  //#region src/plugins/dayPartPlugin.ts
5
21
  /** * Plugin to inject `getPartOfDay` method */
@@ -1,5 +1,21 @@
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-DIp_pxR2.cjs');
18
+ const require_basic = require('../basic-DsQqC5nZ.cjs');
3
19
 
4
20
  //#region src/plugins/durationPlugin.ts
5
21
  /** * Plugin to inject `duration` related methods */
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, D as ChronosInput, d as DurationOptions, g as TimeDuration } from "../types-DPTQ_yLx.cjs";
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, D as ChronosInput, d as DurationOptions, g as TimeDuration } from "../types-CaVuY1_4.cjs";
2
18
 
3
19
  //#region src/plugins/durationPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, D as ChronosInput, d as DurationOptions, g as TimeDuration } from "../types-B2fgrJ86.mjs";
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, D as ChronosInput, d as DurationOptions, g as TimeDuration } from "../types-Bs_rfkka.mjs";
2
18
 
3
19
  //#region src/plugins/durationPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,4 +1,20 @@
1
- import { s as INTERNALS } from "../basic-Dputob9z.mjs";
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";
2
18
 
3
19
  //#region src/plugins/durationPlugin.ts
4
20
  /** * Plugin to inject `duration` 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-DIp_pxR2.cjs');
3
- const require_convert = require('../convert-dQuGWhVm.cjs');
18
+ const require_basic = require('../basic-DsQqC5nZ.cjs');
19
+ const require_convert = require('../convert-DbgntRVW.cjs');
4
20
 
5
21
  //#region src/plugins/fromNowPlugin.ts
6
22
  /** * Plugin to inject `fromNow` method */
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, D as ChronosInput, ut as FromNowUnit } from "../types-DPTQ_yLx.cjs";
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, D as ChronosInput, ut as FromNowUnit } from "../types-CaVuY1_4.cjs";
2
18
 
3
19
  //#region src/plugins/fromNowPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, D as ChronosInput, ut as FromNowUnit } from "../types-B2fgrJ86.mjs";
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, D as ChronosInput, ut as FromNowUnit } from "../types-Bs_rfkka.mjs";
2
18
 
3
19
  //#region src/plugins/fromNowPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -1,5 +1,21 @@
1
- import { s as INTERNALS } from "../basic-Dputob9z.mjs";
2
- import { t as formatUnitWithPlural } from "../convert-CNVL-mop.mjs";
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 { t as formatUnitWithPlural } from "../convert-mMaI4YP0.mjs";
3
19
 
4
20
  //#region src/plugins/fromNowPlugin.ts
5
21
  /** * Plugin to inject `fromNow` method */
@@ -1,5 +1,21 @@
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_greet = require('../greet-B8ZtypgG.cjs');
18
+ const require_greet = require('../greet-hjVsd2dt.cjs');
3
19
 
4
20
  //#region src/plugins/greetingPlugin.ts
5
21
  /** * Plugin to inject `getGreeting`/`greet` method */
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, dt as GreetingConfigs } from "../types-DPTQ_yLx.cjs";
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, dt as GreetingConfigs } from "../types-CaVuY1_4.cjs";
2
18
 
3
19
  //#region src/plugins/greetingPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -15,7 +31,7 @@ declare module 'chronos-date' {
15
31
  /**
16
32
  * @instance Returns a greeting message based on current instance of `Chronos` time or provided time in the `configs`.
17
33
  *
18
- * @remarks This method is an alias for {@link https://toolbox.nazmul-nhb.dev/docs/classes/Chronos/format#getgreeting getGreeting} method.
34
+ * @remarks This method is an alias for {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#getgreeting getGreeting} method.
19
35
  *
20
36
  * @param configs - Configuration options for greeting times and messages.
21
37
  * @returns The appropriate greeting message.
@@ -1,4 +1,20 @@
1
- import { C as $Chronos, dt as GreetingConfigs } from "../types-B2fgrJ86.mjs";
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, dt as GreetingConfigs } from "../types-Bs_rfkka.mjs";
2
18
 
3
19
  //#region src/plugins/greetingPlugin.d.ts
4
20
  declare module 'chronos-date' {
@@ -15,7 +31,7 @@ declare module 'chronos-date' {
15
31
  /**
16
32
  * @instance Returns a greeting message based on current instance of `Chronos` time or provided time in the `configs`.
17
33
  *
18
- * @remarks This method is an alias for {@link https://toolbox.nazmul-nhb.dev/docs/classes/Chronos/format#getgreeting getGreeting} method.
34
+ * @remarks This method is an alias for {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#getgreeting getGreeting} method.
19
35
  *
20
36
  * @param configs - Configuration options for greeting times and messages.
21
37
  * @returns The appropriate greeting message.
@@ -1,4 +1,20 @@
1
- import { t as getGreeting } from "../greet-B9j4afzD.mjs";
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 { t as getGreeting } from "../greet-D07t2_e6.mjs";
2
18
 
3
19
  //#region src/plugins/greetingPlugin.ts
4
20
  /** * Plugin to inject `getGreeting`/`greet` method */