chronos-date 1.3.0 → 1.3.3

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 (77) hide show
  1. package/dist/{convert-z8FAUOuh.cjs → convert-C58su2-2.cjs} +3 -3
  2. package/dist/{convert-BY-uEIvg.mjs → convert-CWh7zZ5Q.mjs} +3 -3
  3. package/dist/{greet-D89spydp.mjs → greet-BBVGLAlA.mjs} +1 -1
  4. package/dist/{greet-ok0_Wai_.cjs → greet-DMVrEM6l.cjs} +1 -1
  5. package/dist/guards.cjs +3 -3
  6. package/dist/guards.d.cts +1 -1
  7. package/dist/guards.d.mts +1 -1
  8. package/dist/guards.mjs +3 -3
  9. package/dist/{helpers-D8yAKOsC.cjs → helpers-CoVvHHs7.cjs} +3 -3
  10. package/dist/{helpers-eVQCueAC.mjs → helpers-X5e54orr.mjs} +3 -3
  11. package/dist/index.cjs +5 -5
  12. package/dist/index.d.cts +1 -1
  13. package/dist/index.d.mts +1 -1
  14. package/dist/index.mjs +5 -5
  15. package/dist/{non-primitives-B38XfU4A.mjs → non-primitives-BG-R5eUB.mjs} +1 -1
  16. package/dist/{non-primitives-Dj558axv.cjs → non-primitives-D3EcMaah.cjs} +1 -1
  17. package/dist/plugins/banglaPlugin.cjs +9 -8
  18. package/dist/plugins/banglaPlugin.d.cts +1 -1
  19. package/dist/plugins/banglaPlugin.d.mts +1 -1
  20. package/dist/plugins/banglaPlugin.mjs +9 -8
  21. package/dist/plugins/businessPlugin.cjs +2 -2
  22. package/dist/plugins/businessPlugin.d.cts +1 -1
  23. package/dist/plugins/businessPlugin.d.mts +1 -1
  24. package/dist/plugins/businessPlugin.mjs +2 -2
  25. package/dist/plugins/dateRangePlugin.cjs +2 -2
  26. package/dist/plugins/dateRangePlugin.d.cts +1 -1
  27. package/dist/plugins/dateRangePlugin.d.mts +1 -1
  28. package/dist/plugins/dateRangePlugin.mjs +2 -2
  29. package/dist/plugins/dayPartPlugin.cjs +1 -1
  30. package/dist/plugins/dayPartPlugin.d.cts +1 -1
  31. package/dist/plugins/dayPartPlugin.d.mts +1 -1
  32. package/dist/plugins/dayPartPlugin.mjs +1 -1
  33. package/dist/plugins/durationPlugin.d.cts +1 -1
  34. package/dist/plugins/durationPlugin.d.mts +1 -1
  35. package/dist/plugins/fromNowPlugin.cjs +1 -1
  36. package/dist/plugins/fromNowPlugin.d.cts +1 -1
  37. package/dist/plugins/fromNowPlugin.d.mts +1 -1
  38. package/dist/plugins/fromNowPlugin.mjs +1 -1
  39. package/dist/plugins/greetingPlugin.cjs +1 -1
  40. package/dist/plugins/greetingPlugin.d.cts +1 -1
  41. package/dist/plugins/greetingPlugin.d.mts +1 -1
  42. package/dist/plugins/greetingPlugin.mjs +1 -1
  43. package/dist/plugins/palindromePlugin.cjs +2 -2
  44. package/dist/plugins/palindromePlugin.d.cts +1 -1
  45. package/dist/plugins/palindromePlugin.d.mts +1 -1
  46. package/dist/plugins/palindromePlugin.mjs +2 -2
  47. package/dist/plugins/relativeTimePlugin.d.cts +1 -1
  48. package/dist/plugins/relativeTimePlugin.d.mts +1 -1
  49. package/dist/plugins/roundPlugin.cjs +1 -1
  50. package/dist/plugins/roundPlugin.d.cts +1 -1
  51. package/dist/plugins/roundPlugin.d.mts +1 -1
  52. package/dist/plugins/roundPlugin.mjs +1 -1
  53. package/dist/plugins/seasonPlugin.d.cts +1 -1
  54. package/dist/plugins/seasonPlugin.d.mts +1 -1
  55. package/dist/plugins/timeZonePlugin.cjs +2 -2
  56. package/dist/plugins/timeZonePlugin.d.cts +1 -1
  57. package/dist/plugins/timeZonePlugin.d.mts +1 -1
  58. package/dist/plugins/timeZonePlugin.mjs +2 -2
  59. package/dist/plugins/zodiacPlugin.cjs +1 -1
  60. package/dist/plugins/zodiacPlugin.d.cts +1 -1
  61. package/dist/plugins/zodiacPlugin.d.mts +1 -1
  62. package/dist/plugins/zodiacPlugin.mjs +1 -1
  63. package/dist/{primitives-DutXlR0D.cjs → primitives-Ce8vYVxN.cjs} +1 -1
  64. package/dist/{primitives-DpMa2dS2.mjs → primitives-Csc-jgx0.mjs} +1 -1
  65. package/dist/{types-Nd89nk1B.d.mts → types-36vIWjN1.d.mts} +16 -16
  66. package/dist/{types-DgRC-2cA.d.cts → types-DKMN8UeN.d.cts} +16 -16
  67. package/dist/types.d.cts +1 -1
  68. package/dist/types.d.mts +1 -1
  69. package/dist/{utilities-CkQA3Fkh.cjs → utilities-BnJa8S6A.cjs} +4 -4
  70. package/dist/{utilities-BfGFB7aw.mjs → utilities-CQORzytW.mjs} +4 -4
  71. package/dist/{utilities-C_cYlUNI.mjs → utilities-CW4F3wFp.mjs} +4 -4
  72. package/dist/{utilities-CZTvwfjY.cjs → utilities-GTSjQweZ.cjs} +4 -4
  73. package/dist/utils.cjs +4 -4
  74. package/dist/utils.d.cts +1 -1
  75. package/dist/utils.d.mts +1 -1
  76. package/dist/utils.mjs +4 -4
  77. package/package.json +4 -3
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { D as ChronosInput, Et as TimeUnit, o as ChronosPlugin } from "../types-Nd89nk1B.mjs";
17
+ import { D as ChronosInput, Et as TimeUnit, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
18
18
 
19
19
  //#region src/plugins/relativeTimePlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -16,7 +16,7 @@
16
16
 
17
17
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
18
  const require_basic = require('../basic-DsQqC5nZ.cjs');
19
- const require_utilities = require('../utilities-CkQA3Fkh.cjs');
19
+ const require_utilities = require('../utilities-BnJa8S6A.cjs');
20
20
 
21
21
  //#region src/plugins/roundPlugin.ts
22
22
  /** * Plugin to inject `round` method */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Et as TimeUnit, o as ChronosPlugin } from "../types-DgRC-2cA.cjs";
17
+ import { Et as TimeUnit, o as ChronosPlugin } from "../types-DKMN8UeN.cjs";
18
18
 
19
19
  //#region src/plugins/roundPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Et as TimeUnit, o as ChronosPlugin } from "../types-Nd89nk1B.mjs";
17
+ import { Et as TimeUnit, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
18
18
 
19
19
  //#region src/plugins/roundPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { s as INTERNALS, u as MS_PER_DAY } from "../basic-DqKyujoj.mjs";
18
- import { r as roundToNearest } from "../utilities-BfGFB7aw.mjs";
18
+ import { r as roundToNearest } from "../utilities-CQORzytW.mjs";
19
19
 
20
20
  //#region src/plugins/roundPlugin.ts
21
21
  /** * Plugin to inject `round` method */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { m as SeasonOptions, o as ChronosPlugin } from "../types-DgRC-2cA.cjs";
17
+ import { m as SeasonOptions, o as ChronosPlugin } from "../types-DKMN8UeN.cjs";
18
18
 
19
19
  //#region src/plugins/seasonPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { m as SeasonOptions, o as ChronosPlugin } from "../types-Nd89nk1B.mjs";
17
+ import { m as SeasonOptions, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
18
18
 
19
19
  //#region src/plugins/seasonPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -18,8 +18,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
18
  const require_basic = require('../basic-DsQqC5nZ.cjs');
19
19
  const require_timezone = require('../timezone-BNnHFgki.cjs');
20
20
  const require_guards = require('../guards.cjs');
21
- const require_helpers = require('../helpers-D8yAKOsC.cjs');
22
- const require_utilities = require('../utilities-CZTvwfjY.cjs');
21
+ const require_helpers = require('../helpers-CoVvHHs7.cjs');
22
+ const require_utilities = require('../utilities-GTSjQweZ.cjs');
23
23
 
24
24
  //#region src/plugins/timeZonePlugin.ts
25
25
  /** * Plugin to inject `timeZone` related methods */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-DgRC-2cA.cjs";
17
+ import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-DKMN8UeN.cjs";
18
18
 
19
19
  //#region src/plugins/timeZonePlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-Nd89nk1B.mjs";
17
+ import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-36vIWjN1.mjs";
18
18
 
19
19
  //#region src/plugins/timeZonePlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -17,8 +17,8 @@
17
17
  import { s as INTERNALS } from "../basic-DqKyujoj.mjs";
18
18
  import { n as NATIVE_TZ_IDS, o as TIME_ZONE_LABELS, r as TIME_ZONES } from "../timezone-Db2CeL32.mjs";
19
19
  import { isValidUTCOffset } from "../guards.mjs";
20
- import { p as _resolveNativeTzName, s as _gmtToUtcOffset } from "../helpers-eVQCueAC.mjs";
21
- import { r as extractMinutesFromUTC } from "../utilities-C_cYlUNI.mjs";
20
+ import { p as _resolveNativeTzName, s as _gmtToUtcOffset } from "../helpers-X5e54orr.mjs";
21
+ import { r as extractMinutesFromUTC } from "../utilities-CW4F3wFp.mjs";
22
22
 
23
23
  //#region src/plugins/timeZonePlugin.ts
24
24
  /** * Plugin to inject `timeZone` related methods */
@@ -16,7 +16,7 @@
16
16
 
17
17
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
18
  const require_basic = require('../basic-DsQqC5nZ.cjs');
19
- const require_helpers = require('../helpers-D8yAKOsC.cjs');
19
+ const require_helpers = require('../helpers-CoVvHHs7.cjs');
20
20
 
21
21
  //#region src/plugins/zodiacPlugin.ts
22
22
  /** * Plugin to inject `zodiac` related methods */
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-DgRC-2cA.cjs";
17
+ import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-DKMN8UeN.cjs";
18
18
 
19
19
  //#region src/plugins/zodiacPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-Nd89nk1B.mjs";
17
+ import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-36vIWjN1.mjs";
18
18
 
19
19
  //#region src/plugins/zodiacPlugin.d.ts
20
20
  declare module 'chronos-date' {
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { m as ZODIAC_PRESETS } from "../basic-DqKyujoj.mjs";
18
- import { f as _padZero } from "../helpers-eVQCueAC.mjs";
18
+ import { f as _padZero } from "../helpers-X5e54orr.mjs";
19
19
 
20
20
  //#region src/plugins/zodiacPlugin.ts
21
21
  /** * Plugin to inject `zodiac` related methods */
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
 
18
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
18
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
19
19
  function isNumber(value) {
20
20
  return typeof value === "number" && Number.isFinite(value);
21
21
  }
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
17
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/primitives.js
18
18
  function isNumber(value) {
19
19
  return typeof value === "number" && Number.isFinite(value);
20
20
  }
@@ -16,7 +16,7 @@
16
16
 
17
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";
18
18
 
19
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
19
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
20
20
  /**
21
21
  * * Broadens a literal union (typically `string` or `number`) to also accept any other value of the base type, without losing IntelliSense autocomplete for the provided literals.
22
22
  *
@@ -136,7 +136,7 @@ type $JoinRepeat<S extends string, A extends unknown[]> = A extends [unknown, ..
136
136
  */
137
137
  type Repeat<S extends string, N extends number> = $JoinRepeat<S, $BuildTuple<N>>;
138
138
  //#endregion
139
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/number/constants.d.ts
139
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/constants.d.ts
140
140
  /** List of all supported BCP 47 locales */
141
141
  declare const LOCALE_CODES: readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-QA", "ar-SA", "ar-SD", "ar-SY", "ar-TN", "ar-YE", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-NZ", "en-PH", "en-SG", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-DO", "es-EC", "es-ES", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "ky-KG", "lt-LT", "lv-LV", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "pl-PL", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "sk-SK", "sl-SI", "sq-AL", "sr-Latn", "sv-SE", "sw-KE", "ta-IN", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-PK", "uz-UZ", "vi-VN", "zh-CN", "zh-HK", "zh-TW"];
142
142
  /** Mapping of CurrencyCodes to `LocaleCodes` */
@@ -312,7 +312,7 @@ declare const BN_DIGITS: Readonly<{
312
312
  readonly '\u09EF': 9;
313
313
  }>;
314
314
  //#endregion
315
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/number/types.d.ts
315
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/types.d.ts
316
316
  /** Enumerate & Enumerate Internal: builds a union of all numbers from 0 to N - 1 */
317
317
  type $EnumerateInternal<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : $EnumerateInternal<N, [...Acc, Acc['length']]>;
318
318
  /**
@@ -352,7 +352,7 @@ type BanglaDigit = keyof typeof BN_DIGITS;
352
352
  /** Bangla digits from `১-৯` */
353
353
  type $BnOnes = Exclude<BanglaDigit, '০'>;
354
354
  //#endregion
355
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/types/index.d.ts
355
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/types/index.d.ts
356
356
  /** Represents a value that may or may not be present. */
357
357
  type Maybe<T> = T | undefined;
358
358
  /** Union of `number` and numeric string */
@@ -506,7 +506,7 @@ interface BanglaDateOptions<Locale extends $BnEn> extends BnCalendarConfig {
506
506
  * chronos.isReconstructable(value: unknown): value is ChronosProperties;
507
507
  * chronos.reconstruct(value: ChronosProperties): Chronos;
508
508
  * chronos.formatTimePart(time: string, format?: TimeParts): string;
509
- * chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions): string[];
509
+ * chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions): ISODateTimeString[];
510
510
  * chronos.use(plugin: ChronosPlugin): void;
511
511
  * chronos.register(plugin: ChronosPlugin): void;
512
512
  * ```
@@ -1186,7 +1186,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
1186
1186
  * });
1187
1187
  * //=> [ '2025-05-28T15:17:10.812Z', '2025-06-04T15:17:10.812Z' ]
1188
1188
  */
1189
- static getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): string[];
1189
+ static getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1190
1190
  /**
1191
1191
  * @static Returns ISO date strings for each occurrence of a weekday between two fixed dates.
1192
1192
  *
@@ -1208,7 +1208,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
1208
1208
  * });
1209
1209
  * //=> [ '2025-01-06T...', '2025-01-13T...', ... ]
1210
1210
  */
1211
- static getDatesForDay(day: WeekDay, options?: DateRangeOptions): string[];
1211
+ static getDatesForDay(day: WeekDay, options?: DateRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1212
1212
  /**
1213
1213
  * @static Returns the earliest `Chronos` instance based on the underlying universal {@link timestamp}.
1214
1214
  *
@@ -1273,7 +1273,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
1273
1273
  * @param value - The value to test.
1274
1274
  * @returns `true` if the value is an instance of `Chronos`, otherwise `false`.
1275
1275
  */
1276
- static isValidChronos(value: unknown): value is Chronos;
1276
+ static isValidChronos(value: unknown): value is Chronos<ChronosTimeZone>;
1277
1277
  /**
1278
1278
  * @static Checks if the given value has the necessary properties to be reconstructed into a `Chronos` instance.
1279
1279
  * - Can be used for validating objects that may represent serialized `Chronos` data.
@@ -1508,7 +1508,7 @@ interface ChronosStatics {
1508
1508
  * If omitted, the current system date/time is used.
1509
1509
  * @returns A new Chronos instance representing the UTC equivalent of the input.
1510
1510
  */
1511
- utc(dateLike?: ChronosInput): Chronos;
1511
+ utc(dateLike?: ChronosInput): Chronos<'UTC'>;
1512
1512
  /**
1513
1513
  * * Formats a time-only string into a formatted time string.
1514
1514
  *
@@ -1547,7 +1547,7 @@ interface ChronosStatics {
1547
1547
  * });
1548
1548
  * //=> [ '2025-05-28T15:17:10.812Z', '2025-06-04T15:17:10.812Z' ]
1549
1549
  */
1550
- getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): string[];
1550
+ getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1551
1551
  /**
1552
1552
  * * Returns ISO date strings for each occurrence of a weekday between two fixed dates.
1553
1553
  *
@@ -1563,7 +1563,7 @@ interface ChronosStatics {
1563
1563
  * });
1564
1564
  * //=> [ '2025-01-06T...', '2025-01-13T...', ... ]
1565
1565
  */
1566
- getDatesForDay(day: WeekDay, options?: DateRangeOptions): string[];
1566
+ getDatesForDay(day: WeekDay, options?: DateRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1567
1567
  /**
1568
1568
  * * Returns ISO date strings for each occurrence of a weekday.
1569
1569
  *
@@ -1571,17 +1571,17 @@ interface ChronosStatics {
1571
1571
  * @param options - Relative range (e.g., 7 days, 4 weeks) or Absolute date range and output format.
1572
1572
  * @returns Array of ISO date strings in the specified format.
1573
1573
  */
1574
- getDatesForDay(day: WeekDay, options?: WeekdayOptions): string[];
1574
+ getDatesForDay(day: WeekDay, options?: WeekdayOptions): ISODateTimeString<'utc' | 'local'>[];
1575
1575
  /**
1576
1576
  * * Returns earliest Chronos
1577
1577
  * @param dates Date inputs.
1578
1578
  */
1579
- min(...dates: ChronosInput[]): Chronos;
1579
+ min(...dates: ChronosInput[]): Chronos<ChronosTimeZone>;
1580
1580
  /**
1581
1581
  * * Returns latest Chronos
1582
1582
  * @param dates Date inputs.
1583
1583
  */
1584
- max(...dates: ChronosInput[]): Chronos;
1584
+ max(...dates: ChronosInput[]): Chronos<ChronosTimeZone>;
1585
1585
  /**
1586
1586
  * * Checks if the year in the date string or year (from 0 - 9999) is a leap year.
1587
1587
  * - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
@@ -1620,7 +1620,7 @@ interface ChronosStatics {
1620
1620
  * @param value - The value to test.
1621
1621
  * @returns `true` if the value is an instance of `Chronos`, otherwise `false`.
1622
1622
  */
1623
- isValidChronos(value: unknown): value is Chronos;
1623
+ isValidChronos(value: unknown): value is Chronos<ChronosTimeZone>;
1624
1624
  /**
1625
1625
  * * Checks if the given value has the necessary properties to be reconstructed into a `Chronos` instance.
1626
1626
  * - Can be used for validating objects that may represent serialized `Chronos` data.
@@ -1637,7 +1637,7 @@ interface ChronosStatics {
1637
1637
  * @returns A new `Chronos` instance created from the provided properties.
1638
1638
  * @throws `TypeError` if the input value does not have the necessary properties for reconstruction.
1639
1639
  */
1640
- reconstruct(value: ChronosProperties): Chronos;
1640
+ reconstruct(value: ChronosProperties): Chronos<ChronosTimeZone>;
1641
1641
  }
1642
1642
  //#endregion
1643
1643
  //#region src/types/date-time.d.ts
@@ -16,7 +16,7 @@
16
16
 
17
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";
18
18
 
19
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
19
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/utils/types.d.ts
20
20
  /**
21
21
  * * Broadens a literal union (typically `string` or `number`) to also accept any other value of the base type, without losing IntelliSense autocomplete for the provided literals.
22
22
  *
@@ -136,7 +136,7 @@ type $JoinRepeat<S extends string, A extends unknown[]> = A extends [unknown, ..
136
136
  */
137
137
  type Repeat<S extends string, N extends number> = $JoinRepeat<S, $BuildTuple<N>>;
138
138
  //#endregion
139
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/number/constants.d.ts
139
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/constants.d.ts
140
140
  /** List of all supported BCP 47 locales */
141
141
  declare const LOCALE_CODES: readonly ["af-ZA", "am-ET", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-QA", "ar-SA", "ar-SD", "ar-SY", "ar-TN", "ar-YE", "az-AZ", "be-BY", "bg-BG", "bn-BD", "bn-IN", "bs-BA", "ca-ES", "cs-CZ", "cy-GB", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", "en-CA", "en-GB", "en-IE", "en-IN", "en-NZ", "en-PH", "en-SG", "en-US", "en-ZA", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-DO", "es-EC", "es-ES", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et-EE", "eu-ES", "fa-IR", "fi-FI", "fil-PH", "fr-BE", "fr-CA", "fr-CH", "fr-FR", "ga-IE", "gl-ES", "gu-IN", "he-IL", "hi-IN", "hr-HR", "hu-HU", "hy-AM", "id-ID", "is-IS", "it-CH", "it-IT", "ja-JP", "ka-GE", "kk-KZ", "km-KH", "kn-IN", "ko-KR", "ky-KG", "lt-LT", "lv-LV", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "ms-MY", "mt-MT", "nb-NO", "ne-NP", "nl-BE", "nl-NL", "pl-PL", "pt-BR", "pt-PT", "ro-RO", "ru-RU", "sk-SK", "sl-SI", "sq-AL", "sr-Latn", "sv-SE", "sw-KE", "ta-IN", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-PK", "uz-UZ", "vi-VN", "zh-CN", "zh-HK", "zh-TW"];
142
142
  /** Mapping of CurrencyCodes to `LocaleCodes` */
@@ -312,7 +312,7 @@ declare const BN_DIGITS: Readonly<{
312
312
  readonly '\u09EF': 9;
313
313
  }>;
314
314
  //#endregion
315
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/number/types.d.ts
315
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/number/types.d.ts
316
316
  /** Enumerate & Enumerate Internal: builds a union of all numbers from 0 to N - 1 */
317
317
  type $EnumerateInternal<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : $EnumerateInternal<N, [...Acc, Acc['length']]>;
318
318
  /**
@@ -352,7 +352,7 @@ type BanglaDigit = keyof typeof BN_DIGITS;
352
352
  /** Bangla digits from `১-৯` */
353
353
  type $BnOnes = Exclude<BanglaDigit, '০'>;
354
354
  //#endregion
355
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/dts/types/index.d.ts
355
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/dts/types/index.d.ts
356
356
  /** Represents a value that may or may not be present. */
357
357
  type Maybe<T> = T | undefined;
358
358
  /** Union of `number` and numeric string */
@@ -506,7 +506,7 @@ interface BanglaDateOptions<Locale extends $BnEn> extends BnCalendarConfig {
506
506
  * chronos.isReconstructable(value: unknown): value is ChronosProperties;
507
507
  * chronos.reconstruct(value: ChronosProperties): Chronos;
508
508
  * chronos.formatTimePart(time: string, format?: TimeParts): string;
509
- * chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions): string[];
509
+ * chronos.getDatesForDay(day: WeekDay, options?: WeekdayOptions): ISODateTimeString[];
510
510
  * chronos.use(plugin: ChronosPlugin): void;
511
511
  * chronos.register(plugin: ChronosPlugin): void;
512
512
  * ```
@@ -1186,7 +1186,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
1186
1186
  * });
1187
1187
  * //=> [ '2025-05-28T15:17:10.812Z', '2025-06-04T15:17:10.812Z' ]
1188
1188
  */
1189
- static getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): string[];
1189
+ static getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1190
1190
  /**
1191
1191
  * @static Returns ISO date strings for each occurrence of a weekday between two fixed dates.
1192
1192
  *
@@ -1208,7 +1208,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
1208
1208
  * });
1209
1209
  * //=> [ '2025-01-06T...', '2025-01-13T...', ... ]
1210
1210
  */
1211
- static getDatesForDay(day: WeekDay, options?: DateRangeOptions): string[];
1211
+ static getDatesForDay(day: WeekDay, options?: DateRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1212
1212
  /**
1213
1213
  * @static Returns the earliest `Chronos` instance based on the underlying universal {@link timestamp}.
1214
1214
  *
@@ -1273,7 +1273,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
1273
1273
  * @param value - The value to test.
1274
1274
  * @returns `true` if the value is an instance of `Chronos`, otherwise `false`.
1275
1275
  */
1276
- static isValidChronos(value: unknown): value is Chronos;
1276
+ static isValidChronos(value: unknown): value is Chronos<ChronosTimeZone>;
1277
1277
  /**
1278
1278
  * @static Checks if the given value has the necessary properties to be reconstructed into a `Chronos` instance.
1279
1279
  * - Can be used for validating objects that may represent serialized `Chronos` data.
@@ -1508,7 +1508,7 @@ interface ChronosStatics {
1508
1508
  * If omitted, the current system date/time is used.
1509
1509
  * @returns A new Chronos instance representing the UTC equivalent of the input.
1510
1510
  */
1511
- utc(dateLike?: ChronosInput): Chronos;
1511
+ utc(dateLike?: ChronosInput): Chronos<'UTC'>;
1512
1512
  /**
1513
1513
  * * Formats a time-only string into a formatted time string.
1514
1514
  *
@@ -1547,7 +1547,7 @@ interface ChronosStatics {
1547
1547
  * });
1548
1548
  * //=> [ '2025-05-28T15:17:10.812Z', '2025-06-04T15:17:10.812Z' ]
1549
1549
  */
1550
- getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): string[];
1550
+ getDatesForDay(day: WeekDay, options?: RelativeRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1551
1551
  /**
1552
1552
  * * Returns ISO date strings for each occurrence of a weekday between two fixed dates.
1553
1553
  *
@@ -1563,7 +1563,7 @@ interface ChronosStatics {
1563
1563
  * });
1564
1564
  * //=> [ '2025-01-06T...', '2025-01-13T...', ... ]
1565
1565
  */
1566
- getDatesForDay(day: WeekDay, options?: DateRangeOptions): string[];
1566
+ getDatesForDay(day: WeekDay, options?: DateRangeOptions): ISODateTimeString<'utc' | 'local'>[];
1567
1567
  /**
1568
1568
  * * Returns ISO date strings for each occurrence of a weekday.
1569
1569
  *
@@ -1571,17 +1571,17 @@ interface ChronosStatics {
1571
1571
  * @param options - Relative range (e.g., 7 days, 4 weeks) or Absolute date range and output format.
1572
1572
  * @returns Array of ISO date strings in the specified format.
1573
1573
  */
1574
- getDatesForDay(day: WeekDay, options?: WeekdayOptions): string[];
1574
+ getDatesForDay(day: WeekDay, options?: WeekdayOptions): ISODateTimeString<'utc' | 'local'>[];
1575
1575
  /**
1576
1576
  * * Returns earliest Chronos
1577
1577
  * @param dates Date inputs.
1578
1578
  */
1579
- min(...dates: ChronosInput[]): Chronos;
1579
+ min(...dates: ChronosInput[]): Chronos<ChronosTimeZone>;
1580
1580
  /**
1581
1581
  * * Returns latest Chronos
1582
1582
  * @param dates Date inputs.
1583
1583
  */
1584
- max(...dates: ChronosInput[]): Chronos;
1584
+ max(...dates: ChronosInput[]): Chronos<ChronosTimeZone>;
1585
1585
  /**
1586
1586
  * * Checks if the year in the date string or year (from 0 - 9999) is a leap year.
1587
1587
  * - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
@@ -1620,7 +1620,7 @@ interface ChronosStatics {
1620
1620
  * @param value - The value to test.
1621
1621
  * @returns `true` if the value is an instance of `Chronos`, otherwise `false`.
1622
1622
  */
1623
- isValidChronos(value: unknown): value is Chronos;
1623
+ isValidChronos(value: unknown): value is Chronos<ChronosTimeZone>;
1624
1624
  /**
1625
1625
  * * Checks if the given value has the necessary properties to be reconstructed into a `Chronos` instance.
1626
1626
  * - Can be used for validating objects that may represent serialized `Chronos` data.
@@ -1637,7 +1637,7 @@ interface ChronosStatics {
1637
1637
  * @returns A new `Chronos` instance created from the provided properties.
1638
1638
  * @throws `TypeError` if the input value does not have the necessary properties for reconstruction.
1639
1639
  */
1640
- reconstruct(value: ChronosProperties): Chronos;
1640
+ reconstruct(value: ChronosProperties): Chronos<ChronosTimeZone>;
1641
1641
  }
1642
1642
  //#endregion
1643
1643
  //#region src/types/date-time.d.ts
package/dist/types.d.cts CHANGED
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-DgRC-2cA.cjs";
17
+ import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-DKMN8UeN.cjs";
18
18
  export type { $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, ChronosTimeZone, 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 };
package/dist/types.d.mts CHANGED
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-Nd89nk1B.mjs";
17
+ import { $ as $UnitAnyCase, $t as BanglaDateOptions, A as ChronosObject, At as TimeZoneDetails, B as WeekdayOptions, Bt as ChronosStatics, C as $Chronos, Ct as NumberingSystem, D as ChronosInput, Dt as TimeUnitValue, E as $StaticMethods, Et as TimeUnit, F as DatesInRangeOptions, Ft as TimeZoneNameNative, G as $LocalArguments, Gt as $BanglaYear, H as $DateUnit, I as PluginMethods, It as TimestampOptions, J as $TimeUnitKey, Jt as $BnMonthPadded, K as $NativeTzNameOrId, Kt as $BnDatePadded, L as RangeWithDates, Lt as UTCMinute, M as ChronosTimeZone, Mt as TimeZoneIdNative, N as ChronosWithOptions, Nt as TimeZoneIdentifier, O as ChronosInternals, Ot as TimeWithUnit, P as DateRangeOptions, Pt as TimeZoneName, Q as $UTCOffset, Qt as BanglaDateObject, R as RelativeDateRange, Rt as UTCOffset, S as ZodiacSign, St as NegativeUTCHour, T as $PluginMethods, Tt as Quarter, U as $GMTOffset, Ut as $BanglaMonth, V as WithoutOrigin, W as $ISOTimeString, Wt as $BanglaMonthDate, X as $TimeUnitVarMap, Xt as BanglaDate, Y as $TimeUnitVar, Yt as $BnYearPadded, Z as $TimeZoneIdentifier, Zt as BanglaDateFormat, _ as ZodiacArray, _n as StrictFormat, _t as LocalesArguments, a as BusinessOptionsWeekends, an as BnCalendarConfig, at as DateArgs, b as ZodiacOptions, bn as TimeToken, bt as MonthName, c as DayPart, cn as DateFormatToken, ct as DateString, d as DurationOptions, dn as FormatToken, dt as FromNowUnit, en as BanglaDayName, et as ChronosStaticKey, f as MonthBoundary, fn as HourToken, ft as GreetingConfigs, g as TimeDuration, gn as SecondToken, gt as LocaleCalendar, h as SeasonPreset, hn as MonthToken, ht as ISODateTimeString, i as BusinessOptionsBasic, in as BanglaYear, it as ClockTime, j as ChronosProperties, jt as TimeZoneId, k as ChronosMethods, kt as TimeZone, l as DayPartConfig, ln as DateToken, lt as DateTimeFormatOptions, m as SeasonOptions, mn as MinuteToken, mt as ISODateFormat, n as $BusinessHourOptions, nn as BanglaMonthName, nt as ClockMinute, o as ChronosPlugin, on as BnCalendarVariant, ot as DateFormatOptions, p as SeasonDefinition, pn as MSToken, pt as HourMinutes, q as $TZLabelKey, qt as $BnEn, r as AcademicYear, rn as BanglaSeasonName, rt as ClockSecond, s as DateBoundary, sn as DateWithSeasonToken, st as DateLike, t as $BusinessHourBaseOptions, tn as BanglaMonth, tt as ClockHour, u as DurationKey, un as DayToken, ut as FormatOptions, v as ZodiacMeta, vn as TimeFormatToken, vt as Milliseconds, w as $InstanceMethods, wt as PositiveUTCHour, x as ZodiacPreset, xn as YearToken, xt as MonthString, y as ZodiacMetaOptions, yn as TimeOnlyFormat, yt as MonthDateString, z as RelativeRangeOptions, zt as WeekDay } from "./types-36vIWjN1.mjs";
18
18
  export type { $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, ChronosTimeZone, 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 };
@@ -14,15 +14,15 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- const require_primitives = require('./primitives-DutXlR0D.cjs');
17
+ const require_primitives = require('./primitives-Ce8vYVxN.cjs');
18
18
 
19
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/guards/specials.js
19
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/specials.js
20
20
  function isNumericString(value) {
21
21
  return require_primitives.isString(value) && value?.trim() !== "" && Number.isFinite(Number(value));
22
22
  }
23
23
 
24
24
  //#endregion
25
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/number/constants.js
25
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/constants.js
26
26
  const BN_DIGITS = /* @__PURE__ */ Object.freeze({
27
27
  "০": 0,
28
28
  "১": 1,
@@ -37,7 +37,7 @@ const BN_DIGITS = /* @__PURE__ */ Object.freeze({
37
37
  });
38
38
 
39
39
  //#endregion
40
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/number/utilities.js
40
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/utilities.js
41
41
  const roundToNearest = (value, interval = 5) => {
42
42
  return Math.round(Number(value) / interval) * interval;
43
43
  };
@@ -14,15 +14,15 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { i as isString, r as isNumber } from "./primitives-DpMa2dS2.mjs";
17
+ import { i as isString, r as isNumber } from "./primitives-Csc-jgx0.mjs";
18
18
 
19
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/guards/specials.js
19
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/guards/specials.js
20
20
  function isNumericString(value) {
21
21
  return isString(value) && value?.trim() !== "" && Number.isFinite(Number(value));
22
22
  }
23
23
 
24
24
  //#endregion
25
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/number/constants.js
25
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/constants.js
26
26
  const BN_DIGITS = /* @__PURE__ */ Object.freeze({
27
27
  "০": 0,
28
28
  "১": 1,
@@ -37,7 +37,7 @@ const BN_DIGITS = /* @__PURE__ */ Object.freeze({
37
37
  });
38
38
 
39
39
  //#endregion
40
- //#region node_modules/.pnpm/nhb-toolbox@4.30.10/node_modules/nhb-toolbox/dist/esm/number/utilities.js
40
+ //#region node_modules/.pnpm/nhb-toolbox@4.30.11/node_modules/nhb-toolbox/dist/esm/number/utilities.js
41
41
  const roundToNearest = (value, interval = 5) => {
42
42
  return Math.round(Number(value) / interval) * interval;
43
43
  };
@@ -15,11 +15,11 @@
15
15
  */
16
16
 
17
17
  import { n as NATIVE_TZ_IDS } from "./timezone-Db2CeL32.mjs";
18
- import { a as isUndefined } from "./primitives-DpMa2dS2.mjs";
19
- import { r as isObject } from "./non-primitives-B38XfU4A.mjs";
20
- import { n as normalizeNumber } from "./utilities-BfGFB7aw.mjs";
18
+ import { a as isUndefined } from "./primitives-Csc-jgx0.mjs";
19
+ import { r as isObject } from "./non-primitives-BG-R5eUB.mjs";
20
+ import { n as normalizeNumber } from "./utilities-CQORzytW.mjs";
21
21
  import { isValidUTCOffset } from "./guards.mjs";
22
- import { n as _dateArgsToDate, p as _resolveNativeTzName, r as _formatDate, s as _gmtToUtcOffset, u as _normalizeOffset } from "./helpers-eVQCueAC.mjs";
22
+ import { n as _dateArgsToDate, p as _resolveNativeTzName, r as _formatDate, s as _gmtToUtcOffset, u as _normalizeOffset } from "./helpers-X5e54orr.mjs";
23
23
 
24
24
  //#region src/utils/utilities.ts
25
25
  /**
@@ -15,11 +15,11 @@
15
15
  */
16
16
 
17
17
  const require_timezone = require('./timezone-BNnHFgki.cjs');
18
- const require_primitives = require('./primitives-DutXlR0D.cjs');
19
- const require_non_primitives = require('./non-primitives-Dj558axv.cjs');
20
- const require_utilities = require('./utilities-CkQA3Fkh.cjs');
18
+ const require_primitives = require('./primitives-Ce8vYVxN.cjs');
19
+ const require_non_primitives = require('./non-primitives-D3EcMaah.cjs');
20
+ const require_utilities = require('./utilities-BnJa8S6A.cjs');
21
21
  const require_guards = require('./guards.cjs');
22
- const require_helpers = require('./helpers-D8yAKOsC.cjs');
22
+ const require_helpers = require('./helpers-CoVvHHs7.cjs');
23
23
 
24
24
  //#region src/utils/utilities.ts
25
25
  /**
package/dist/utils.cjs CHANGED
@@ -16,11 +16,11 @@
16
16
 
17
17
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
18
18
  const require_basic = require('./basic-DsQqC5nZ.cjs');
19
- const require_primitives = require('./primitives-DutXlR0D.cjs');
20
- const require_utilities = require('./utilities-CkQA3Fkh.cjs');
19
+ const require_primitives = require('./primitives-Ce8vYVxN.cjs');
20
+ const require_utilities = require('./utilities-BnJa8S6A.cjs');
21
21
  const require_guards = require('./guards.cjs');
22
- const require_utilities$1 = require('./utilities-CZTvwfjY.cjs');
23
- const require_greet = require('./greet-ok0_Wai_.cjs');
22
+ const require_utilities$1 = require('./utilities-GTSjQweZ.cjs');
23
+ const require_greet = require('./greet-DMVrEM6l.cjs');
24
24
 
25
25
  //#region src/utils/parser.ts
26
26
  /**
package/dist/utils.d.cts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { At as TimeZoneDetails, Cn as Numeric, It as TimestampOptions, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Sn as Maybe, Z as $TimeZoneIdentifier, _n as StrictFormat, at as DateArgs, ft as GreetingConfigs, ht as ISODateTimeString, it as ClockTime, mt as ISODateFormat, ot as DateFormatOptions, pt as HourMinutes, yn as TimeOnlyFormat } from "./types-DgRC-2cA.cjs";
17
+ import { At as TimeZoneDetails, Cn as Numeric, It as TimestampOptions, Mt as TimeZoneIdNative, Ot as TimeWithUnit, Rt as UTCOffset, Sn as Maybe, Z as $TimeZoneIdentifier, _n as StrictFormat, at as DateArgs, ft as GreetingConfigs, ht as ISODateTimeString, it as ClockTime, mt as ISODateFormat, ot as DateFormatOptions, pt as HourMinutes, yn as TimeOnlyFormat } from "./types-DKMN8UeN.cjs";
18
18
 
19
19
  //#region src/utils/greet.d.ts
20
20
  /**