chronos-date 1.4.0 → 2.0.0

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 (51) hide show
  1. package/dist/{greet-BJ2Fsag1.cjs → greet-CMkwXJ7o.cjs} +1 -1
  2. package/dist/{greet-2HTytQc8.mjs → greet-DNGvP7nm.mjs} +1 -1
  3. package/dist/guards.d.cts +1 -1
  4. package/dist/guards.d.mts +1 -1
  5. package/dist/index.cjs +26 -27
  6. package/dist/index.d.cts +1 -1
  7. package/dist/index.d.mts +1 -1
  8. package/dist/index.mjs +26 -27
  9. package/dist/plugins/banglaPlugin.d.cts +1 -1
  10. package/dist/plugins/banglaPlugin.d.mts +1 -1
  11. package/dist/plugins/businessPlugin.cjs +2 -2
  12. package/dist/plugins/businessPlugin.d.cts +3 -3
  13. package/dist/plugins/businessPlugin.d.mts +3 -3
  14. package/dist/plugins/businessPlugin.mjs +2 -2
  15. package/dist/plugins/dateRangePlugin.d.cts +3 -3
  16. package/dist/plugins/dateRangePlugin.d.mts +3 -3
  17. package/dist/plugins/dayPartPlugin.d.cts +1 -1
  18. package/dist/plugins/dayPartPlugin.d.mts +1 -1
  19. package/dist/plugins/durationPlugin.d.cts +1 -1
  20. package/dist/plugins/durationPlugin.d.mts +1 -1
  21. package/dist/plugins/fromNowPlugin.d.cts +1 -1
  22. package/dist/plugins/fromNowPlugin.d.mts +1 -1
  23. package/dist/plugins/greetingPlugin.cjs +1 -1
  24. package/dist/plugins/greetingPlugin.d.cts +3 -3
  25. package/dist/plugins/greetingPlugin.d.mts +3 -3
  26. package/dist/plugins/greetingPlugin.mjs +1 -1
  27. package/dist/plugins/palindromePlugin.d.cts +1 -1
  28. package/dist/plugins/palindromePlugin.d.mts +1 -1
  29. package/dist/plugins/relativeTimePlugin.d.cts +1 -1
  30. package/dist/plugins/relativeTimePlugin.d.mts +1 -1
  31. package/dist/plugins/roundPlugin.d.cts +1 -1
  32. package/dist/plugins/roundPlugin.d.mts +1 -1
  33. package/dist/plugins/seasonPlugin.d.cts +2 -2
  34. package/dist/plugins/seasonPlugin.d.mts +2 -2
  35. package/dist/plugins/timeZonePlugin.cjs +1 -1
  36. package/dist/plugins/timeZonePlugin.d.cts +1 -1
  37. package/dist/plugins/timeZonePlugin.d.mts +1 -1
  38. package/dist/plugins/timeZonePlugin.mjs +1 -1
  39. package/dist/plugins/zodiacPlugin.d.cts +2 -2
  40. package/dist/plugins/zodiacPlugin.d.mts +2 -2
  41. package/dist/{types-C_H5zQ8v.d.mts → types-Be4ZMpOV.d.mts} +44 -29
  42. package/dist/{types-g6rO6-Xe.d.cts → types-dNpvroNQ.d.cts} +44 -29
  43. package/dist/types.d.cts +1 -1
  44. package/dist/types.d.mts +1 -1
  45. package/dist/{utilities-DwMJexGo.mjs → utilities-C6NiChRE.mjs} +2 -2
  46. package/dist/{utilities-By0PGa-z.cjs → utilities-CCnKWAsS.cjs} +2 -2
  47. package/dist/utils.cjs +2 -2
  48. package/dist/utils.d.cts +3 -3
  49. package/dist/utils.d.mts +3 -3
  50. package/dist/utils.mjs +2 -2
  51. package/package.json +3 -2
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  const require_guards = require('./guards.cjs');
18
- const require_utilities = require('./utilities-By0PGa-z.cjs');
18
+ const require_utilities = require('./utilities-CCnKWAsS.cjs');
19
19
 
20
20
  //#region src/utils/greet.ts
21
21
  /**
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { isValidTime } from "./guards.mjs";
18
- import { n as extractHourMinute, p as getTotalMinutes } from "./utilities-DwMJexGo.mjs";
18
+ import { n as extractHourMinute, p as getTotalMinutes } from "./utilities-C6NiChRE.mjs";
19
19
 
20
20
  //#region src/utils/greet.ts
21
21
  /**
package/dist/guards.d.cts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Cn as Numeric, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Z as $TimeZoneIdentifier, it as ClockTime, st as DateLike } from "./types-g6rO6-Xe.cjs";
17
+ import { Cn as Numeric, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Z as $TimeZoneIdentifier, it as ClockTime, st as DateLike } from "./types-dNpvroNQ.cjs";
18
18
 
19
19
  //#region src/guards.d.ts
20
20
  /**
package/dist/guards.d.mts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Cn as Numeric, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Z as $TimeZoneIdentifier, it as ClockTime, st as DateLike } from "./types-C_H5zQ8v.mjs";
17
+ import { Cn as Numeric, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Z as $TimeZoneIdentifier, it as ClockTime, st as DateLike } from "./types-Be4ZMpOV.mjs";
18
18
 
19
19
  //#region src/guards.d.ts
20
20
  /**
package/dist/index.cjs CHANGED
@@ -20,7 +20,7 @@ const require_primitives = require('./primitives-DfO90c3G.cjs');
20
20
  const require_non_primitives = require('./non-primitives-BqjRwK2B.cjs');
21
21
  const require_guards = require('./guards.cjs');
22
22
  const require_helpers = require('./helpers-Bq7Hczoa.cjs');
23
- const require_utilities = require('./utilities-By0PGa-z.cjs');
23
+ const require_utilities = require('./utilities-CCnKWAsS.cjs');
24
24
 
25
25
  //#region src/utils/chronos-fn.ts
26
26
  /**
@@ -216,24 +216,24 @@ var Chronos = class Chronos {
216
216
  * Represents the current timezone name (e.g., `"Bangladesh Standard Time"`), or falls back to the corresponding timezone identifier (e.g., `"Asia/Dhaka"`) if no name can be resolved.
217
217
  *
218
218
  * @remarks
219
- * - Invoking the {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method sets the timezone name that corresponds to the specified UTC offset, or the UTC offset itself if no name exists. For more details on this behavior, see {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/names#gettimezonename getTimeZoneName}.
219
+ * - Invoking the {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method sets the timezone name that corresponds to the specified UTC offset, or the UTC offset itself if no name exists. For more details on this behavior, see {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#gettimezonename getTimeZoneName}.
220
220
  * - To retrieve the local system's native timezone name (or its identifier if the name is unavailable), use the {@link $getNativeTimeZoneName} instance method.
221
221
  */
222
222
  timeZoneName;
223
223
  /**
224
224
  * Represents the current timezone context, which can be a single identifier, an array of equivalent identifiers, or a UTC offset.
225
225
  *
226
- * - **{@link $TimeZoneIdentifier}** — e.g., `"Asia/Dhaka"`. Returned when the {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method has not been invoked. It is default behavior.
226
+ * - **{@link $TimeZoneIdentifier}** — e.g., `"Asia/Dhaka"`. Returned when the {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method has not been invoked. It is default behavior.
227
227
  * - **Array of {@link $TimeZoneIdentifier}** — e.g., `[ 'Asia/Calcutta', 'Asia/Colombo' ]`, used when multiple timezones share the same UTC offset such as `"UTC+05:30"`.
228
228
  * - **{@link UTCOffset}** — e.g., `"UTC+06:45"` or `"UTC+02:15"`, returned when no named timezone corresponds to a given offset.
229
229
  *
230
230
  * @remarks
231
- * - By default, when {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} is not applied, a single {@link $TimeZoneIdentifier} string is provided.
231
+ * - By default, when {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} is not applied, a single {@link $TimeZoneIdentifier} string is provided.
232
232
  * - When applied, it may instead return a single identifier string, an array of equivalent identifiers or a UTC offset string.
233
233
  * - To retrieve the local system's native timezone identifier, use the {@link $getNativeTimeZoneId} instance method.
234
234
  */
235
235
  timeZoneId;
236
- /** Tracker to identify the instance created by {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method */
236
+ /** Tracker to identify the instance created by {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method */
237
237
  $tzTracker;
238
238
  /**
239
239
  * * Creates a new immutable `Chronos` instance.
@@ -310,7 +310,7 @@ var Chronos = class Chronos {
310
310
  *
311
311
  * @remarks
312
312
  * - This method always reflects the local machine's time zone if `tzId` is parameter is omitted.
313
- * - {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
313
+ * - {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
314
314
  * - To access the time zone name of a modified or converted instance, use the {@link timeZoneName} public property instead.
315
315
  *
316
316
  * @param tzId Optional time zone identifier to get time zone name for that specific identifier if available.
@@ -326,7 +326,7 @@ var Chronos = class Chronos {
326
326
  *
327
327
  * @remarks
328
328
  * - This method always returns the identifier of the local machine's time zone.
329
- * - {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
329
+ * - {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
330
330
  * - To obtain the identifier(s) of a modified or converted instance, use the {@link timeZoneId} public property instead.
331
331
  *
332
332
  * @returns The local system's IANA time zone identifier.
@@ -355,7 +355,7 @@ var Chronos = class Chronos {
355
355
  * @param offset Optional UTC offset in `UTC±HH:mm` format.
356
356
  * @param tzName Optional time zone name to set.
357
357
  * @param tzId Optional time zone identifier(s) to set.
358
- * @param tzTracker Optional tracker to identify the instance created by {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method.
358
+ * @param tzTracker Optional tracker to identify the instance created by {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method.
359
359
  * @returns The `Chronos` instance with the specified origin and other properties.
360
360
  */
361
361
  #withOrigin(origin, offset, tzName, tzId, tzTracker) {
@@ -516,7 +516,7 @@ var Chronos = class Chronos {
516
516
  *
517
517
  * - Supported format tokens include: `YYYY`, `YY`, `mmmm`, `mmm`, `MM`, `M`, `DD`, `D`, `dd`, `ddd`, `Do`, `HH`, `H`, `hh`, `h`, `mm`, `m`, `ss`, `s`, `ms`, `mss`, `a`, `A`, `ZZ` and `Z`.
518
518
  * - *Any token not wrapped in brackets will be parsed and replaced with its corresponding date component.*
519
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#format-tokens format tokens} for details.
519
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
520
520
  *
521
521
  * @param useUTC - Optional boolean to format the date using UTC time.
522
522
  * When `true`, it behaves like `formatUTC()` and outputs time based on UTC offset. Defaults to `false`.
@@ -534,7 +534,7 @@ var Chronos = class Chronos {
534
534
  *
535
535
  * @param format - The desired format string. Defaults to `'dd, mmm DD, YYYY HH:mm:ss'`
536
536
  * (e.g., `'Sun, Apr 06, 2025 16:11:55'`).
537
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#format-tokens format tokens} for details.
537
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
538
538
  *
539
539
  * @param useUTC - If `true`, formats the date in UTC (equivalent to `formatUTC()`).
540
540
  * Defaults to `false` (local time).
@@ -553,7 +553,7 @@ var Chronos = class Chronos {
553
553
  *
554
554
  * - Supported format tokens include: `YYYY`, `YY`, `mmmm`, `mmm`, `MM`, `M`, `DD`, `D`, `dd`, `ddd`, `Do`, `HH`, `H`, `hh`, `h`, `mm`, `m`, `ss`, `s`, `ms`, `mss`, `a`, `A`, `ZZ` and `Z`.
555
555
  * - *Any token not wrapped in brackets will be parsed and replaced with its corresponding date component.*
556
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#format-tokens format tokens} for details.
556
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
557
557
  *
558
558
  * @returns Formatted date string in desired format (UTC time).
559
559
  */
@@ -878,14 +878,13 @@ var Chronos = class Chronos {
878
878
  /**
879
879
  * @instance Returns the difference between current and another date in the given unit.
880
880
  * @param other The other date to compare.
881
- * @param unit The unit in which to return the difference.
881
+ * @param unit The unit in which to return the difference. Defaults to `'millisecond'`.
882
882
  * @returns Difference in number (either `integer` or `float`).
883
883
  */
884
- diff(other, unit) {
884
+ diff(other, unit = "millisecond") {
885
885
  const time = Chronos.#cast(other);
886
886
  const msDiff = this.#timestamp - time.#timestamp;
887
887
  switch (unit) {
888
- case "millisecond": return msDiff;
889
888
  case "second": return msDiff / 1e3;
890
889
  case "minute": return msDiff / 6e4;
891
890
  case "hour": return msDiff / 36e5;
@@ -897,6 +896,7 @@ var Chronos = class Chronos {
897
896
  return yearDiff * 12 + monthDiff + (this.date - time.date) / this.daysInMonth();
898
897
  }
899
898
  case "year": return this.diff(time, "month") / 12;
899
+ default: return msDiff;
900
900
  }
901
901
  }
902
902
  /**
@@ -1019,15 +1019,15 @@ var Chronos = class Chronos {
1019
1019
  * - `Q3`: July to September
1020
1020
  * - `Q4`: October to December
1021
1021
  *
1022
- * This method strictly uses the **calendar year**. For fiscal quarters, use {@link toFiscalQuarter} instead.
1022
+ * This method strictly uses the **calendar year**. For fiscal quarters, use {@link https://chronos.nazmul-nhb.dev/docs/plugins/business-plugin#getfiscalquarter getFiscalQuarter} instead.
1023
1023
  *
1024
1024
  * @example
1025
- * new Chronos('2025-02-14').toQuarter(); // 1
1026
- * new Chronos('2025-08-09').toQuarter(); // 3
1025
+ * new Chronos('2025-02-14').getQuarter(); // 1
1026
+ * new Chronos('2025-08-09').getQuarter(); // 3
1027
1027
  *
1028
1028
  * @returns The calendar quarter number (1–4).
1029
1029
  */
1030
- toQuarter() {
1030
+ getQuarter() {
1031
1031
  const month = this.#date.getMonth();
1032
1032
  return Math.floor(month / 3) + 1;
1033
1033
  }
@@ -1047,7 +1047,7 @@ var Chronos = class Chronos {
1047
1047
  /**
1048
1048
  * @instance Returns the timezone offset of this `Chronos` instance in `±HH:mm` format maintaining current timezone.
1049
1049
  *
1050
- * - *Unlike JavaScript's {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset `Date.prototype.getTimezoneOffset()`}, which returns the offset in minutes **behind** UTC (positive for locations west of UTC and negative for east), this method returns the more intuitive sign format used in timezone representations (e.g., `+06:00` means 6 hours **ahead** of UTC).*
1050
+ * @remarks *Unlike JavaScript's {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset `Date.prototype.getTimezoneOffset()`}, which returns the offset in minutes **behind** UTC (positive for locations west of UTC and negative for east), this method returns the more intuitive sign format used in timezone representations (e.g., `+06:00` means 6 hours **ahead** of UTC).*
1051
1051
  *
1052
1052
  * @returns The timezone offset string in `±HH:mm` format maintaining the current timezone regardless of system having different one.
1053
1053
  */
@@ -1055,7 +1055,7 @@ var Chronos = class Chronos {
1055
1055
  return this.#offset.replace("UTC", "");
1056
1056
  }
1057
1057
  /**
1058
- * @instance Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer.
1058
+ * @instance Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local system.
1059
1059
  *
1060
1060
  * - *Unlike JavaScript's {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset `Date.prototype.getTimezoneOffset()`}, this method returns a positive value if the local time is ahead of UTC, and negative if behind UTC.*
1061
1061
  *
@@ -1067,12 +1067,11 @@ var Chronos = class Chronos {
1067
1067
  return -this.#date.getTimezoneOffset();
1068
1068
  }
1069
1069
  /**
1070
- * @instance Returns the current `Chronos` instance's UTC offset in minutes.
1070
+ * @instance Returns the current `Chronos` instance's timezone offset in minutes.
1071
1071
  *
1072
- * This reflects the parsed or stored offset used internally by `Chronos` and follows the same
1073
- * sign convention: positive for timezones ahead of UTC, negative for behind.
1072
+ * @remarks This reflects the parsed or stored offset used internally by `Chronos` and follows sign convention: positive for timezones ahead of UTC, negative for behind.
1074
1073
  *
1075
- * @returns The UTC offset in minutes maintaining the current timezone regardless of system having different one.
1074
+ * @returns The timezone offset in minutes maintaining the current timezone regardless of system having different one.
1076
1075
  */
1077
1076
  getTimeZoneOffsetMinutes() {
1078
1077
  return require_utilities.extractMinutesFromUTC(this.#offset);
@@ -1286,7 +1285,7 @@ var Chronos = class Chronos {
1286
1285
  * @param options - Relative range (e.g., 7 days, 4 weeks) or date range (from/to) and output format.
1287
1286
  * @returns Array of ISO date strings in the specified format.
1288
1287
  *
1289
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/statics#getdatesforday docs} for details.
1288
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/static/get-dates-for-day docs} for details.
1290
1289
  */
1291
1290
  static getDatesForDay(day, options) {
1292
1291
  let startDate = new Chronos(), endDate = startDate.addWeeks(4);
@@ -1442,7 +1441,7 @@ var Chronos = class Chronos {
1442
1441
  * - To prevent this incorrect *linter error* in `React` projects, prefer using {@link register} method (alias `use` method).
1443
1442
  *
1444
1443
  * - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
1445
- * - See {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/plugins#-official-plugins full list of plugins and the methods they register}.
1444
+ * - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
1446
1445
  */
1447
1446
  static use(plugin) {
1448
1447
  if (!Chronos.#plugins.has(plugin)) {
@@ -1460,7 +1459,7 @@ var Chronos = class Chronos {
1460
1459
  * - To prevent this incorrect *linter error* in `React` projects, prefer using this (`register`) method over {@link use} method.
1461
1460
  *
1462
1461
  * - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
1463
- * - See {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/plugins#-official-plugins full list of plugins and the methods they register}.
1462
+ * - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
1464
1463
  */
1465
1464
  static register(plugin) {
1466
1465
  Chronos.use(plugin);
package/dist/index.d.cts CHANGED
@@ -15,5 +15,5 @@
15
15
  */
16
16
 
17
17
  import { D as INTERNALS } from "./seasons-CpUn45n6.cjs";
18
- import { Ht as chronos, Vt as Chronos } from "./types-g6rO6-Xe.cjs";
18
+ import { Ht as chronos, Vt as Chronos } from "./types-dNpvroNQ.cjs";
19
19
  export { Chronos, INTERNALS, chronos };
package/dist/index.d.mts CHANGED
@@ -15,5 +15,5 @@
15
15
  */
16
16
 
17
17
  import { D as INTERNALS } from "./seasons-B_kjFWIX.mjs";
18
- import { Ht as chronos, Vt as Chronos } from "./types-C_H5zQ8v.mjs";
18
+ import { Ht as chronos, Vt as Chronos } from "./types-Be4ZMpOV.mjs";
19
19
  export { Chronos, INTERNALS, chronos };
package/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ import { r as isNumber } from "./primitives-BXhrgs9R.mjs";
19
19
  import { t as isFunction } from "./non-primitives-CbAOB6lb.mjs";
20
20
  import { isDateString, isLeapYear } from "./guards.mjs";
21
21
  import { c as _hasChronosProperties, n as _dateArgsToDate, p as _resolveNativeTzName, r as _formatDate, u as _normalizeOffset } from "./helpers-C2spzGZ-.mjs";
22
- import { l as getNativeTimeZoneId, r as extractMinutesFromUTC } from "./utilities-DwMJexGo.mjs";
22
+ import { l as getNativeTimeZoneId, r as extractMinutesFromUTC } from "./utilities-C6NiChRE.mjs";
23
23
 
24
24
  //#region src/utils/chronos-fn.ts
25
25
  /**
@@ -215,24 +215,24 @@ var Chronos = class Chronos {
215
215
  * Represents the current timezone name (e.g., `"Bangladesh Standard Time"`), or falls back to the corresponding timezone identifier (e.g., `"Asia/Dhaka"`) if no name can be resolved.
216
216
  *
217
217
  * @remarks
218
- * - Invoking the {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method sets the timezone name that corresponds to the specified UTC offset, or the UTC offset itself if no name exists. For more details on this behavior, see {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/names#gettimezonename getTimeZoneName}.
218
+ * - Invoking the {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method sets the timezone name that corresponds to the specified UTC offset, or the UTC offset itself if no name exists. For more details on this behavior, see {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#gettimezonename getTimeZoneName}.
219
219
  * - To retrieve the local system's native timezone name (or its identifier if the name is unavailable), use the {@link $getNativeTimeZoneName} instance method.
220
220
  */
221
221
  timeZoneName;
222
222
  /**
223
223
  * Represents the current timezone context, which can be a single identifier, an array of equivalent identifiers, or a UTC offset.
224
224
  *
225
- * - **{@link $TimeZoneIdentifier}** — e.g., `"Asia/Dhaka"`. Returned when the {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method has not been invoked. It is default behavior.
225
+ * - **{@link $TimeZoneIdentifier}** — e.g., `"Asia/Dhaka"`. Returned when the {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method has not been invoked. It is default behavior.
226
226
  * - **Array of {@link $TimeZoneIdentifier}** — e.g., `[ 'Asia/Calcutta', 'Asia/Colombo' ]`, used when multiple timezones share the same UTC offset such as `"UTC+05:30"`.
227
227
  * - **{@link UTCOffset}** — e.g., `"UTC+06:45"` or `"UTC+02:15"`, returned when no named timezone corresponds to a given offset.
228
228
  *
229
229
  * @remarks
230
- * - By default, when {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} is not applied, a single {@link $TimeZoneIdentifier} string is provided.
230
+ * - By default, when {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} is not applied, a single {@link $TimeZoneIdentifier} string is provided.
231
231
  * - When applied, it may instead return a single identifier string, an array of equivalent identifiers or a UTC offset string.
232
232
  * - To retrieve the local system's native timezone identifier, use the {@link $getNativeTimeZoneId} instance method.
233
233
  */
234
234
  timeZoneId;
235
- /** Tracker to identify the instance created by {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method */
235
+ /** Tracker to identify the instance created by {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method */
236
236
  $tzTracker;
237
237
  /**
238
238
  * * Creates a new immutable `Chronos` instance.
@@ -309,7 +309,7 @@ var Chronos = class Chronos {
309
309
  *
310
310
  * @remarks
311
311
  * - This method always reflects the local machine's time zone if `tzId` is parameter is omitted.
312
- * - {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
312
+ * - {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
313
313
  * - To access the time zone name of a modified or converted instance, use the {@link timeZoneName} public property instead.
314
314
  *
315
315
  * @param tzId Optional time zone identifier to get time zone name for that specific identifier if available.
@@ -325,7 +325,7 @@ var Chronos = class Chronos {
325
325
  *
326
326
  * @remarks
327
327
  * - This method always returns the identifier of the local machine's time zone.
328
- * - {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
328
+ * - {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
329
329
  * - To obtain the identifier(s) of a modified or converted instance, use the {@link timeZoneId} public property instead.
330
330
  *
331
331
  * @returns The local system's IANA time zone identifier.
@@ -354,7 +354,7 @@ var Chronos = class Chronos {
354
354
  * @param offset Optional UTC offset in `UTC±HH:mm` format.
355
355
  * @param tzName Optional time zone name to set.
356
356
  * @param tzId Optional time zone identifier(s) to set.
357
- * @param tzTracker Optional tracker to identify the instance created by {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/conversion#timezone timeZone} method.
357
+ * @param tzTracker Optional tracker to identify the instance created by {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method.
358
358
  * @returns The `Chronos` instance with the specified origin and other properties.
359
359
  */
360
360
  #withOrigin(origin, offset, tzName, tzId, tzTracker) {
@@ -515,7 +515,7 @@ var Chronos = class Chronos {
515
515
  *
516
516
  * - Supported format tokens include: `YYYY`, `YY`, `mmmm`, `mmm`, `MM`, `M`, `DD`, `D`, `dd`, `ddd`, `Do`, `HH`, `H`, `hh`, `h`, `mm`, `m`, `ss`, `s`, `ms`, `mss`, `a`, `A`, `ZZ` and `Z`.
517
517
  * - *Any token not wrapped in brackets will be parsed and replaced with its corresponding date component.*
518
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#format-tokens format tokens} for details.
518
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
519
519
  *
520
520
  * @param useUTC - Optional boolean to format the date using UTC time.
521
521
  * When `true`, it behaves like `formatUTC()` and outputs time based on UTC offset. Defaults to `false`.
@@ -533,7 +533,7 @@ var Chronos = class Chronos {
533
533
  *
534
534
  * @param format - The desired format string. Defaults to `'dd, mmm DD, YYYY HH:mm:ss'`
535
535
  * (e.g., `'Sun, Apr 06, 2025 16:11:55'`).
536
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#format-tokens format tokens} for details.
536
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
537
537
  *
538
538
  * @param useUTC - If `true`, formats the date in UTC (equivalent to `formatUTC()`).
539
539
  * Defaults to `false` (local time).
@@ -552,7 +552,7 @@ var Chronos = class Chronos {
552
552
  *
553
553
  * - Supported format tokens include: `YYYY`, `YY`, `mmmm`, `mmm`, `MM`, `M`, `DD`, `D`, `dd`, `ddd`, `Do`, `HH`, `H`, `hh`, `h`, `mm`, `m`, `ss`, `s`, `ms`, `mss`, `a`, `A`, `ZZ` and `Z`.
554
554
  * - *Any token not wrapped in brackets will be parsed and replaced with its corresponding date component.*
555
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/format#format-tokens format tokens} for details.
555
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
556
556
  *
557
557
  * @returns Formatted date string in desired format (UTC time).
558
558
  */
@@ -877,14 +877,13 @@ var Chronos = class Chronos {
877
877
  /**
878
878
  * @instance Returns the difference between current and another date in the given unit.
879
879
  * @param other The other date to compare.
880
- * @param unit The unit in which to return the difference.
880
+ * @param unit The unit in which to return the difference. Defaults to `'millisecond'`.
881
881
  * @returns Difference in number (either `integer` or `float`).
882
882
  */
883
- diff(other, unit) {
883
+ diff(other, unit = "millisecond") {
884
884
  const time = Chronos.#cast(other);
885
885
  const msDiff = this.#timestamp - time.#timestamp;
886
886
  switch (unit) {
887
- case "millisecond": return msDiff;
888
887
  case "second": return msDiff / 1e3;
889
888
  case "minute": return msDiff / 6e4;
890
889
  case "hour": return msDiff / 36e5;
@@ -896,6 +895,7 @@ var Chronos = class Chronos {
896
895
  return yearDiff * 12 + monthDiff + (this.date - time.date) / this.daysInMonth();
897
896
  }
898
897
  case "year": return this.diff(time, "month") / 12;
898
+ default: return msDiff;
899
899
  }
900
900
  }
901
901
  /**
@@ -1018,15 +1018,15 @@ var Chronos = class Chronos {
1018
1018
  * - `Q3`: July to September
1019
1019
  * - `Q4`: October to December
1020
1020
  *
1021
- * This method strictly uses the **calendar year**. For fiscal quarters, use {@link toFiscalQuarter} instead.
1021
+ * This method strictly uses the **calendar year**. For fiscal quarters, use {@link https://chronos.nazmul-nhb.dev/docs/plugins/business-plugin#getfiscalquarter getFiscalQuarter} instead.
1022
1022
  *
1023
1023
  * @example
1024
- * new Chronos('2025-02-14').toQuarter(); // 1
1025
- * new Chronos('2025-08-09').toQuarter(); // 3
1024
+ * new Chronos('2025-02-14').getQuarter(); // 1
1025
+ * new Chronos('2025-08-09').getQuarter(); // 3
1026
1026
  *
1027
1027
  * @returns The calendar quarter number (1–4).
1028
1028
  */
1029
- toQuarter() {
1029
+ getQuarter() {
1030
1030
  const month = this.#date.getMonth();
1031
1031
  return Math.floor(month / 3) + 1;
1032
1032
  }
@@ -1046,7 +1046,7 @@ var Chronos = class Chronos {
1046
1046
  /**
1047
1047
  * @instance Returns the timezone offset of this `Chronos` instance in `±HH:mm` format maintaining current timezone.
1048
1048
  *
1049
- * - *Unlike JavaScript's {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset `Date.prototype.getTimezoneOffset()`}, which returns the offset in minutes **behind** UTC (positive for locations west of UTC and negative for east), this method returns the more intuitive sign format used in timezone representations (e.g., `+06:00` means 6 hours **ahead** of UTC).*
1049
+ * @remarks *Unlike JavaScript's {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset `Date.prototype.getTimezoneOffset()`}, which returns the offset in minutes **behind** UTC (positive for locations west of UTC and negative for east), this method returns the more intuitive sign format used in timezone representations (e.g., `+06:00` means 6 hours **ahead** of UTC).*
1050
1050
  *
1051
1051
  * @returns The timezone offset string in `±HH:mm` format maintaining the current timezone regardless of system having different one.
1052
1052
  */
@@ -1054,7 +1054,7 @@ var Chronos = class Chronos {
1054
1054
  return this.#offset.replace("UTC", "");
1055
1055
  }
1056
1056
  /**
1057
- * @instance Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local computer.
1057
+ * @instance Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local system.
1058
1058
  *
1059
1059
  * - *Unlike JavaScript's {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset `Date.prototype.getTimezoneOffset()`}, this method returns a positive value if the local time is ahead of UTC, and negative if behind UTC.*
1060
1060
  *
@@ -1066,12 +1066,11 @@ var Chronos = class Chronos {
1066
1066
  return -this.#date.getTimezoneOffset();
1067
1067
  }
1068
1068
  /**
1069
- * @instance Returns the current `Chronos` instance's UTC offset in minutes.
1069
+ * @instance Returns the current `Chronos` instance's timezone offset in minutes.
1070
1070
  *
1071
- * This reflects the parsed or stored offset used internally by `Chronos` and follows the same
1072
- * sign convention: positive for timezones ahead of UTC, negative for behind.
1071
+ * @remarks This reflects the parsed or stored offset used internally by `Chronos` and follows sign convention: positive for timezones ahead of UTC, negative for behind.
1073
1072
  *
1074
- * @returns The UTC offset in minutes maintaining the current timezone regardless of system having different one.
1073
+ * @returns The timezone offset in minutes maintaining the current timezone regardless of system having different one.
1075
1074
  */
1076
1075
  getTimeZoneOffsetMinutes() {
1077
1076
  return extractMinutesFromUTC(this.#offset);
@@ -1285,7 +1284,7 @@ var Chronos = class Chronos {
1285
1284
  * @param options - Relative range (e.g., 7 days, 4 weeks) or date range (from/to) and output format.
1286
1285
  * @returns Array of ISO date strings in the specified format.
1287
1286
  *
1288
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/statics#getdatesforday docs} for details.
1287
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/static/get-dates-for-day docs} for details.
1289
1288
  */
1290
1289
  static getDatesForDay(day, options) {
1291
1290
  let startDate = new Chronos(), endDate = startDate.addWeeks(4);
@@ -1441,7 +1440,7 @@ var Chronos = class Chronos {
1441
1440
  * - To prevent this incorrect *linter error* in `React` projects, prefer using {@link register} method (alias `use` method).
1442
1441
  *
1443
1442
  * - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
1444
- * - See {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/plugins#-official-plugins full list of plugins and the methods they register}.
1443
+ * - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
1445
1444
  */
1446
1445
  static use(plugin) {
1447
1446
  if (!Chronos.#plugins.has(plugin)) {
@@ -1459,7 +1458,7 @@ var Chronos = class Chronos {
1459
1458
  * - To prevent this incorrect *linter error* in `React` projects, prefer using this (`register`) method over {@link use} method.
1460
1459
  *
1461
1460
  * - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
1462
- * - See {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/plugins#-official-plugins full list of plugins and the methods they register}.
1461
+ * - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
1463
1462
  */
1464
1463
  static register(plugin) {
1465
1464
  Chronos.use(plugin);
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $t as BanglaDateOptions, Gt as $BanglaYear, Qt as BanglaDateObject, Ut as $BanglaMonth, Wt as $BanglaMonthDate, an as BnCalendarConfig, en as BanglaDayName, gn as SafeFormat, nn as BanglaMonthName, o as ChronosPlugin, qt as $BnEn, rn as BanglaSeasonName } from "../types-g6rO6-Xe.cjs";
17
+ import { $t as BanglaDateOptions, Gt as $BanglaYear, Qt as BanglaDateObject, Ut as $BanglaMonth, Wt as $BanglaMonthDate, an as BnCalendarConfig, en as BanglaDayName, gn as SafeFormat, nn as BanglaMonthName, o as ChronosPlugin, qt as $BnEn, rn as BanglaSeasonName } from "../types-dNpvroNQ.cjs";
18
18
 
19
19
  //#region src/plugins/banglaPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $t as BanglaDateOptions, Gt as $BanglaYear, Qt as BanglaDateObject, Ut as $BanglaMonth, Wt as $BanglaMonthDate, an as BnCalendarConfig, en as BanglaDayName, gn as SafeFormat, nn as BanglaMonthName, o as ChronosPlugin, qt as $BnEn, rn as BanglaSeasonName } from "../types-C_H5zQ8v.mjs";
17
+ import { $t as BanglaDateOptions, Gt as $BanglaYear, Qt as BanglaDateObject, Ut as $BanglaMonth, Wt as $BanglaMonthDate, an as BnCalendarConfig, en as BanglaDayName, gn as SafeFormat, nn as BanglaMonthName, o as ChronosPlugin, qt as $BnEn, rn as BanglaSeasonName } from "../types-Be4ZMpOV.mjs";
18
18
 
19
19
  //#region src/plugins/banglaPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -119,11 +119,11 @@ const businessPlugin = ($Chronos) => {
119
119
  const { weekStartsOn = 0, weekendLength = 2 } = options ?? {};
120
120
  return this.isWorkday(weekStartsOn, weekendLength) && _isBusinessHour();
121
121
  };
122
- $Chronos.prototype.toFiscalQuarter = function(startMonth = 7) {
122
+ $Chronos.prototype.getFiscalQuarter = function(startMonth = 7) {
123
123
  const adjusted = (this.isoMonth - startMonth + 12) % 12;
124
124
  return Math.floor(adjusted / 3) + 1;
125
125
  };
126
- $Chronos.prototype.toAcademicYear = function() {
126
+ $Chronos.prototype.getAcademicYear = function() {
127
127
  const year = this.year;
128
128
  if (this.month >= 6) return `${year}-${year + 1}`;
129
129
  else return `${year - 1}-${year}`;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { D as ChronosInput, Dn as RangeTuple, Tn as NumberRange, Tt as Quarter, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, o as ChronosPlugin, r as AcademicYear, wn as Enumerate } from "../types-g6rO6-Xe.cjs";
17
+ import { D as ChronosInput, Dn as RangeTuple, Tn as NumberRange, Tt as Quarter, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, o as ChronosPlugin, r as AcademicYear, wn as Enumerate } from "../types-dNpvroNQ.cjs";
18
18
 
19
19
  //#region src/plugins/businessPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -447,13 +447,13 @@ declare module 'chronos-date' {
447
447
  * @instance Returns the academic year based on a typical start in `July` and end in `June`.
448
448
  * @returns The academic year in format `YYYY-YYYY`.
449
449
  */
450
- toAcademicYear(): AcademicYear;
450
+ getAcademicYear(): AcademicYear;
451
451
  /**
452
452
  * @instance Returns the fiscal quarter based on custom fiscal year start (defaults to July).
453
453
  * @param startMonth - The fiscal year start month (1-12), default is July (`7`).
454
454
  * @returns The fiscal quarter (1-4).
455
455
  */
456
- toFiscalQuarter(startMonth?: NumberRange<1, 12>): Quarter;
456
+ getFiscalQuarter(startMonth?: NumberRange<1, 12>): Quarter;
457
457
  }
458
458
  }
459
459
  /** * Plugin to inject `business` related methods */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { D as ChronosInput, Dn as RangeTuple, Tn as NumberRange, Tt as Quarter, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, o as ChronosPlugin, r as AcademicYear, wn as Enumerate } from "../types-C_H5zQ8v.mjs";
17
+ import { D as ChronosInput, Dn as RangeTuple, Tn as NumberRange, Tt as Quarter, a as BusinessOptionsWeekends, i as BusinessOptionsBasic, o as ChronosPlugin, r as AcademicYear, wn as Enumerate } from "../types-Be4ZMpOV.mjs";
18
18
 
19
19
  //#region src/plugins/businessPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -447,13 +447,13 @@ declare module 'chronos-date' {
447
447
  * @instance Returns the academic year based on a typical start in `July` and end in `June`.
448
448
  * @returns The academic year in format `YYYY-YYYY`.
449
449
  */
450
- toAcademicYear(): AcademicYear;
450
+ getAcademicYear(): AcademicYear;
451
451
  /**
452
452
  * @instance Returns the fiscal quarter based on custom fiscal year start (defaults to July).
453
453
  * @param startMonth - The fiscal year start month (1-12), default is July (`7`).
454
454
  * @returns The fiscal quarter (1-4).
455
455
  */
456
- toFiscalQuarter(startMonth?: NumberRange<1, 12>): Quarter;
456
+ getFiscalQuarter(startMonth?: NumberRange<1, 12>): Quarter;
457
457
  }
458
458
  }
459
459
  /** * Plugin to inject `business` related methods */
@@ -118,11 +118,11 @@ const businessPlugin = ($Chronos) => {
118
118
  const { weekStartsOn = 0, weekendLength = 2 } = options ?? {};
119
119
  return this.isWorkday(weekStartsOn, weekendLength) && _isBusinessHour();
120
120
  };
121
- $Chronos.prototype.toFiscalQuarter = function(startMonth = 7) {
121
+ $Chronos.prototype.getFiscalQuarter = function(startMonth = 7) {
122
122
  const adjusted = (this.isoMonth - startMonth + 12) % 12;
123
123
  return Math.floor(adjusted / 3) + 1;
124
124
  };
125
- $Chronos.prototype.toAcademicYear = function() {
125
+ $Chronos.prototype.getAcademicYear = function() {
126
126
  const year = this.year;
127
127
  if (this.month >= 6) return `${year}-${year + 1}`;
128
128
  else return `${year - 1}-${year}`;
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { L as RangeWithDates, R as RelativeDateRange, ht as ISODateTimeString, o as ChronosPlugin } from "../types-g6rO6-Xe.cjs";
17
+ import { L as RangeWithDates, R as RelativeDateRange, ht as ISODateTimeString, o as ChronosPlugin } from "../types-dNpvroNQ.cjs";
18
18
 
19
19
  //#region src/plugins/dateRangePlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -29,7 +29,7 @@ declare module 'chronos-date' {
29
29
  * @param options - Configuration for the date range. Accepts a fixed (`RangeWithDates`) format.
30
30
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
31
31
  *
32
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
32
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/plugins/date-range-plugin#getdatesinrange docs} for details.
33
33
  *
34
34
  * @remarks
35
35
  * - When using `Chronos` instances for `from` and/or `to`, ensure both are created in the **same time zone** to avoid mismatched boundaries.
@@ -61,7 +61,7 @@ declare module 'chronos-date' {
61
61
  * @param options - Configuration for the date range. Accepts a relative (`RelativeDateRange`) format.
62
62
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
63
63
  *
64
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
64
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/plugins/date-range-plugin#getdatesinrange docs} for details.
65
65
  *
66
66
  * @example
67
67
  * // Using a relative date range with skipDays:
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { L as RangeWithDates, R as RelativeDateRange, ht as ISODateTimeString, o as ChronosPlugin } from "../types-C_H5zQ8v.mjs";
17
+ import { L as RangeWithDates, R as RelativeDateRange, ht as ISODateTimeString, o as ChronosPlugin } from "../types-Be4ZMpOV.mjs";
18
18
 
19
19
  //#region src/plugins/dateRangePlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -29,7 +29,7 @@ declare module 'chronos-date' {
29
29
  * @param options - Configuration for the date range. Accepts a fixed (`RangeWithDates`) format.
30
30
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
31
31
  *
32
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
32
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/plugins/date-range-plugin#getdatesinrange docs} for details.
33
33
  *
34
34
  * @remarks
35
35
  * - When using `Chronos` instances for `from` and/or `to`, ensure both are created in the **same time zone** to avoid mismatched boundaries.
@@ -61,7 +61,7 @@ declare module 'chronos-date' {
61
61
  * @param options - Configuration for the date range. Accepts a relative (`RelativeDateRange`) format.
62
62
  * @returns Array of ISO date-time strings in either local or UTC format, excluding any skipped weekdays if specified.
63
63
  *
64
- * - Please refer to {@link https://toolbox.nazmul-nhb.dev/docs/classes/chronos/calculation#getdatesinrange docs} for details.
64
+ * - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/plugins/date-range-plugin#getdatesinrange docs} for details.
65
65
  *
66
66
  * @example
67
67
  * // Using a relative date range with skipDays:
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { c as DayPart, l as DayPartConfig, o as ChronosPlugin } from "../types-g6rO6-Xe.cjs";
17
+ import { c as DayPart, l as DayPartConfig, o as ChronosPlugin } from "../types-dNpvroNQ.cjs";
18
18
 
19
19
  //#region src/plugins/dayPartPlugin.d.ts
20
20
  declare module 'chronos-date' {