chronos-date 1.3.4 → 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.
- package/README.md +1 -1
- package/dist/{convert-C58su2-2.cjs → convert-BDQBTK5P.cjs} +3 -3
- package/dist/{convert-CWh7zZ5Q.mjs → convert-D5Cd0cCg.mjs} +3 -3
- package/dist/{greet-DMVrEM6l.cjs → greet-CMkwXJ7o.cjs} +1 -1
- package/dist/{greet-BBVGLAlA.mjs → greet-DNGvP7nm.mjs} +1 -1
- package/dist/guards.cjs +3 -3
- package/dist/guards.d.cts +1 -1
- package/dist/guards.d.mts +1 -1
- package/dist/guards.mjs +3 -3
- package/dist/{helpers-CoVvHHs7.cjs → helpers-Bq7Hczoa.cjs} +3 -3
- package/dist/{helpers-X5e54orr.mjs → helpers-C2spzGZ-.mjs} +3 -3
- package/dist/index.cjs +31 -32
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +31 -32
- package/dist/{non-primitives-D3EcMaah.cjs → non-primitives-BqjRwK2B.cjs} +1 -1
- package/dist/{non-primitives-BG-R5eUB.mjs → non-primitives-CbAOB6lb.mjs} +1 -1
- package/dist/plugins/banglaPlugin.cjs +4 -4
- package/dist/plugins/banglaPlugin.d.cts +2 -2
- package/dist/plugins/banglaPlugin.d.mts +2 -2
- package/dist/plugins/banglaPlugin.mjs +4 -4
- package/dist/plugins/businessPlugin.cjs +4 -4
- package/dist/plugins/businessPlugin.d.cts +3 -3
- package/dist/plugins/businessPlugin.d.mts +3 -3
- package/dist/plugins/businessPlugin.mjs +4 -4
- package/dist/plugins/dateRangePlugin.cjs +2 -2
- package/dist/plugins/dateRangePlugin.d.cts +3 -3
- package/dist/plugins/dateRangePlugin.d.mts +3 -3
- package/dist/plugins/dateRangePlugin.mjs +2 -2
- package/dist/plugins/dayPartPlugin.cjs +1 -1
- package/dist/plugins/dayPartPlugin.d.cts +1 -1
- package/dist/plugins/dayPartPlugin.d.mts +1 -1
- package/dist/plugins/dayPartPlugin.mjs +1 -1
- package/dist/plugins/durationPlugin.d.cts +1 -1
- package/dist/plugins/durationPlugin.d.mts +1 -1
- package/dist/plugins/fromNowPlugin.cjs +1 -1
- package/dist/plugins/fromNowPlugin.d.cts +1 -1
- package/dist/plugins/fromNowPlugin.d.mts +1 -1
- package/dist/plugins/fromNowPlugin.mjs +1 -1
- package/dist/plugins/greetingPlugin.cjs +2 -2
- package/dist/plugins/greetingPlugin.d.cts +3 -3
- package/dist/plugins/greetingPlugin.d.mts +3 -3
- package/dist/plugins/greetingPlugin.mjs +2 -2
- package/dist/plugins/palindromePlugin.cjs +4 -4
- package/dist/plugins/palindromePlugin.d.cts +1 -1
- package/dist/plugins/palindromePlugin.d.mts +1 -1
- package/dist/plugins/palindromePlugin.mjs +4 -4
- package/dist/plugins/relativeTimePlugin.d.cts +1 -1
- package/dist/plugins/relativeTimePlugin.d.mts +1 -1
- package/dist/plugins/roundPlugin.cjs +1 -1
- package/dist/plugins/roundPlugin.d.cts +1 -1
- package/dist/plugins/roundPlugin.d.mts +1 -1
- package/dist/plugins/roundPlugin.mjs +1 -1
- package/dist/plugins/seasonPlugin.d.cts +2 -2
- package/dist/plugins/seasonPlugin.d.mts +2 -2
- package/dist/plugins/timeZonePlugin.cjs +2 -2
- package/dist/plugins/timeZonePlugin.d.cts +1 -1
- package/dist/plugins/timeZonePlugin.d.mts +1 -1
- package/dist/plugins/timeZonePlugin.mjs +2 -2
- package/dist/plugins/zodiacPlugin.cjs +1 -1
- package/dist/plugins/zodiacPlugin.d.cts +2 -2
- package/dist/plugins/zodiacPlugin.d.mts +2 -2
- package/dist/plugins/zodiacPlugin.mjs +1 -1
- package/dist/{primitives-Csc-jgx0.mjs → primitives-BXhrgs9R.mjs} +1 -1
- package/dist/{primitives-Ce8vYVxN.cjs → primitives-DfO90c3G.cjs} +1 -1
- package/dist/{types-36vIWjN1.d.mts → types-Be4ZMpOV.d.mts} +55 -40
- package/dist/{types-DKMN8UeN.d.cts → types-dNpvroNQ.d.cts} +55 -40
- package/dist/types.d.cts +2 -2
- package/dist/types.d.mts +2 -2
- package/dist/{utilities-CQORzytW.mjs → utilities-BnHD2hHf.mjs} +4 -4
- package/dist/{utilities-CW4F3wFp.mjs → utilities-C6NiChRE.mjs} +6 -6
- package/dist/{utilities-GTSjQweZ.cjs → utilities-CCnKWAsS.cjs} +6 -6
- package/dist/{utilities-BnJa8S6A.cjs → utilities-C_KmjIRK.cjs} +4 -4
- package/dist/utils.cjs +4 -4
- package/dist/utils.d.cts +4 -4
- package/dist/utils.d.mts +4 -4
- package/dist/utils.mjs +4 -4
- package/package.json +7 -5
|
@@ -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-
|
|
17
|
+
import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-dNpvroNQ.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-
|
|
17
|
+
import { En as LooseLiteral, Nt as TimeZoneIdentifier, Pt as TimeZoneName, Rt as UTCOffset, kt as TimeZone, o as ChronosPlugin } from "../types-Be4ZMpOV.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-
|
|
21
|
-
import { r as extractMinutesFromUTC } from "../utilities-
|
|
20
|
+
import { p as _resolveNativeTzName, s as _gmtToUtcOffset } from "../helpers-C2spzGZ-.mjs";
|
|
21
|
+
import { r as extractMinutesFromUTC } from "../utilities-C6NiChRE.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-
|
|
19
|
+
const require_helpers = require('../helpers-Bq7Hczoa.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-
|
|
17
|
+
import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-dNpvroNQ.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/zodiacPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -27,7 +27,7 @@ declare module 'chronos-date' {
|
|
|
27
27
|
getZodiacSign<Sign extends string = ZodiacSign>(options?: ZodiacOptions<Sign>): Sign;
|
|
28
28
|
/**
|
|
29
29
|
* @instance Returns the zodiac sign based on current date or `birthDate` option.
|
|
30
|
-
* @remarks This method is an alias for {@link
|
|
30
|
+
* @remarks This method is an alias for {@link getZodiacSign} method.
|
|
31
31
|
*
|
|
32
32
|
* @param options Optional config to choose preset or provide custom zodiac date ranges.
|
|
33
33
|
* @returns The matching zodiac sign from preset/custom list.
|
|
@@ -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-
|
|
17
|
+
import { S as ZodiacSign, b as ZodiacOptions, o as ChronosPlugin, v as ZodiacMeta, y as ZodiacMetaOptions } from "../types-Be4ZMpOV.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/plugins/zodiacPlugin.d.ts
|
|
20
20
|
declare module 'chronos-date' {
|
|
@@ -27,7 +27,7 @@ declare module 'chronos-date' {
|
|
|
27
27
|
getZodiacSign<Sign extends string = ZodiacSign>(options?: ZodiacOptions<Sign>): Sign;
|
|
28
28
|
/**
|
|
29
29
|
* @instance Returns the zodiac sign based on current date or `birthDate` option.
|
|
30
|
-
* @remarks This method is an alias for {@link
|
|
30
|
+
* @remarks This method is an alias for {@link getZodiacSign} method.
|
|
31
31
|
*
|
|
32
32
|
* @param options Optional config to choose preset or provide custom zodiac date ranges.
|
|
33
33
|
* @returns The matching zodiac sign from preset/custom list.
|
|
@@ -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-
|
|
18
|
+
import { f as _padZero } from "../helpers-C2spzGZ-.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/plugins/zodiacPlugin.ts
|
|
21
21
|
/** * Plugin to inject `zodiac` related methods */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
17
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
//#region node_modules/.pnpm/nhb-toolbox@4.30.
|
|
18
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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
|
}
|
|
@@ -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.
|
|
19
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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.
|
|
139
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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.
|
|
315
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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.
|
|
355
|
+
//#region node_modules/.pnpm/nhb-toolbox@4.30.14/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 */
|
|
@@ -400,7 +400,7 @@ type TokenConnector = ' ' | ', ' | '; ' | ' - ';
|
|
|
400
400
|
/** Format tokens for time only string */
|
|
401
401
|
type TimeOnlyFormat = LooseLiteral<TimeFormatToken>;
|
|
402
402
|
/** Pre-defined literal types for formatting date and time. Optionally can pass any string. */
|
|
403
|
-
type
|
|
403
|
+
type SafeFormat = LooseLiteral<DateTimeISO | DateFormatToken | TimeFormatToken | `${DateFormatToken}${TokenConnector}${TimeFormatToken}`>;
|
|
404
404
|
//#endregion
|
|
405
405
|
//#region src/types/bangla-date.d.ts
|
|
406
406
|
/**
|
|
@@ -560,24 +560,24 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
560
560
|
* 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.
|
|
561
561
|
*
|
|
562
562
|
* @remarks
|
|
563
|
-
* - Invoking the {@link https://
|
|
563
|
+
* - 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}.
|
|
564
564
|
* - To retrieve the local system's native timezone name (or its identifier if the name is unavailable), use the {@link $getNativeTimeZoneName} instance method.
|
|
565
565
|
*/
|
|
566
566
|
timeZoneName: LooseLiteral<TimeZoneName>;
|
|
567
567
|
/**
|
|
568
568
|
* Represents the current timezone context, which can be a single identifier, an array of equivalent identifiers, or a UTC offset.
|
|
569
569
|
*
|
|
570
|
-
* - **{@link $TimeZoneIdentifier}** — e.g., `"Asia/Dhaka"`. Returned when the {@link https://
|
|
570
|
+
* - **{@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.
|
|
571
571
|
* - **Array of {@link $TimeZoneIdentifier}** — e.g., `[ 'Asia/Calcutta', 'Asia/Colombo' ]`, used when multiple timezones share the same UTC offset such as `"UTC+05:30"`.
|
|
572
572
|
* - **{@link UTCOffset}** — e.g., `"UTC+06:45"` or `"UTC+02:15"`, returned when no named timezone corresponds to a given offset.
|
|
573
573
|
*
|
|
574
574
|
* @remarks
|
|
575
|
-
* - By default, when {@link https://
|
|
575
|
+
* - 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.
|
|
576
576
|
* - When applied, it may instead return a single identifier string, an array of equivalent identifiers or a UTC offset string.
|
|
577
577
|
* - To retrieve the local system's native timezone identifier, use the {@link $getNativeTimeZoneId} instance method.
|
|
578
578
|
*/
|
|
579
579
|
timeZoneId: TimeZoneId;
|
|
580
|
-
/** Tracker to identify the instance created by {@link https://
|
|
580
|
+
/** Tracker to identify the instance created by {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method */
|
|
581
581
|
protected $tzTracker?: $TimeZoneIdentifier | TimeZone | UTCOffset;
|
|
582
582
|
/**
|
|
583
583
|
* * Creates a new immutable `Chronos` instance from current date & time (UTC).
|
|
@@ -634,7 +634,23 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
634
634
|
*
|
|
635
635
|
* @returns Instance of `Chronos` with all methods and properties.
|
|
636
636
|
*/
|
|
637
|
-
constructor(year: number, month
|
|
637
|
+
constructor(year: number, month?: NumberRange<1, 12>, date?: NumberRange<1, 31>, hours?: Enumerate<24>, minutes?: Enumerate<60>, seconds?: Enumerate<60>, ms?: Milliseconds);
|
|
638
|
+
/**
|
|
639
|
+
* * Creates a new immutable `Chronos` instance.
|
|
640
|
+
*
|
|
641
|
+
* **Note**: *If a date is provided **without a time component**, the instance will default to `00:00:00.000` UTC and convert it to the **equivalent local time** using the current environment's UTC offset.*
|
|
642
|
+
*
|
|
643
|
+
* @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99, year is assumed to be 1900 + year.
|
|
644
|
+
* @param month The month as a `number` between 1 and 12 (January to December).
|
|
645
|
+
* @param date The date as a `number` between 1 and 31.
|
|
646
|
+
* @param hours Must be supplied if minutes is supplied. A `number` from 0 to 23 (midnight to 11pm) that specifies the hour.
|
|
647
|
+
* @param minutes Must be supplied if seconds is supplied. A `number` from 0 to 59 that specifies the minutes.
|
|
648
|
+
* @param seconds Must be supplied if milliseconds is supplied. A `number` from 0 to 59 that specifies the seconds.
|
|
649
|
+
* @param ms A `number` from 0 to 999 that specifies the milliseconds.
|
|
650
|
+
*
|
|
651
|
+
* @returns Instance of `Chronos` with all methods and properties.
|
|
652
|
+
*/
|
|
653
|
+
constructor(year: number, month?: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number);
|
|
638
654
|
/**
|
|
639
655
|
* * Creates a new immutable `Chronos` instance.
|
|
640
656
|
*
|
|
@@ -662,7 +678,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
662
678
|
*
|
|
663
679
|
* @remarks
|
|
664
680
|
* - This method always reflects the local machine's time zone if `tzId` is parameter is omitted.
|
|
665
|
-
* - {@link https://
|
|
681
|
+
* - {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
|
|
666
682
|
* - To access the time zone name of a modified or converted instance, use the {@link timeZoneName} public property instead.
|
|
667
683
|
*
|
|
668
684
|
* @param tzId Optional time zone identifier to get time zone name for that specific identifier if available.
|
|
@@ -675,7 +691,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
675
691
|
*
|
|
676
692
|
* @remarks
|
|
677
693
|
* - This method always returns the identifier of the local machine's time zone.
|
|
678
|
-
* - {@link https://
|
|
694
|
+
* - {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone}, {@link utc}, or {@link toUTC} methods have no effects on this method.
|
|
679
695
|
* - To obtain the identifier(s) of a modified or converted instance, use the {@link timeZoneId} public property instead.
|
|
680
696
|
*
|
|
681
697
|
* @returns The local system's IANA time zone identifier.
|
|
@@ -743,7 +759,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
743
759
|
*
|
|
744
760
|
* - 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`.
|
|
745
761
|
* - *Any token not wrapped in brackets will be parsed and replaced with its corresponding date component.*
|
|
746
|
-
* - Please refer to {@link https://
|
|
762
|
+
* - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
|
|
747
763
|
*
|
|
748
764
|
* @param useUTC - Optional boolean to format the date using UTC time.
|
|
749
765
|
* When `true`, it behaves like `formatUTC()` and outputs time based on UTC offset. Defaults to `false`.
|
|
@@ -759,13 +775,13 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
759
775
|
*
|
|
760
776
|
* @param format - The desired format string. Defaults to `'dd, mmm DD, YYYY HH:mm:ss'`
|
|
761
777
|
* (e.g., `'Sun, Apr 06, 2025 16:11:55'`).
|
|
762
|
-
* - Please refer to {@link https://
|
|
778
|
+
* - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
|
|
763
779
|
*
|
|
764
780
|
* @param useUTC - If `true`, formats the date in UTC (equivalent to `formatUTC()`).
|
|
765
781
|
* Defaults to `false` (local time).
|
|
766
782
|
* @returns A formatted date string in the specified format.
|
|
767
783
|
*/
|
|
768
|
-
|
|
784
|
+
formatSafe(format?: SafeFormat, useUTC?: boolean): string;
|
|
769
785
|
/**
|
|
770
786
|
* @instance Formats the date into a custom string format (UTC time).
|
|
771
787
|
*
|
|
@@ -776,7 +792,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
776
792
|
*
|
|
777
793
|
* - 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`.
|
|
778
794
|
* - *Any token not wrapped in brackets will be parsed and replaced with its corresponding date component.*
|
|
779
|
-
* - Please refer to {@link https://
|
|
795
|
+
* - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
|
|
780
796
|
*
|
|
781
797
|
* @returns Formatted date string in desired format (UTC time).
|
|
782
798
|
*/
|
|
@@ -937,10 +953,10 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
937
953
|
/**
|
|
938
954
|
* @instance Returns the difference between current and another date in the given unit.
|
|
939
955
|
* @param other The other date to compare.
|
|
940
|
-
* @param unit The unit in which to return the difference.
|
|
956
|
+
* @param unit The unit in which to return the difference. Defaults to `'millisecond'`.
|
|
941
957
|
* @returns Difference in number (either `integer` or `float`).
|
|
942
958
|
*/
|
|
943
|
-
diff(other: ChronosInput, unit
|
|
959
|
+
diff(other: ChronosInput, unit?: TimeUnit): number;
|
|
944
960
|
/**
|
|
945
961
|
* @instance Returns a human-readable relative calendar time like "Today at 3:00 PM"
|
|
946
962
|
* @param baseDate Optional base date to compare with.
|
|
@@ -1000,15 +1016,15 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1000
1016
|
* - `Q3`: July to September
|
|
1001
1017
|
* - `Q4`: October to December
|
|
1002
1018
|
*
|
|
1003
|
-
* This method strictly uses the **calendar year**. For fiscal quarters, use {@link
|
|
1019
|
+
* This method strictly uses the **calendar year**. For fiscal quarters, use {@link https://chronos.nazmul-nhb.dev/docs/plugins/business-plugin#getfiscalquarter getFiscalQuarter} instead.
|
|
1004
1020
|
*
|
|
1005
1021
|
* @example
|
|
1006
|
-
* new Chronos('2025-02-14').
|
|
1007
|
-
* new Chronos('2025-08-09').
|
|
1022
|
+
* new Chronos('2025-02-14').getQuarter(); // 1
|
|
1023
|
+
* new Chronos('2025-08-09').getQuarter(); // 3
|
|
1008
1024
|
*
|
|
1009
1025
|
* @returns The calendar quarter number (1–4).
|
|
1010
1026
|
*/
|
|
1011
|
-
|
|
1027
|
+
getQuarter(): Quarter;
|
|
1012
1028
|
/**
|
|
1013
1029
|
* @instance Returns the system's current UTC offset formatted as `±HH:mm` (`+06:00` or `-07:00`).
|
|
1014
1030
|
*
|
|
@@ -1020,13 +1036,13 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1020
1036
|
/**
|
|
1021
1037
|
* @instance Returns the timezone offset of this `Chronos` instance in `±HH:mm` format maintaining current timezone.
|
|
1022
1038
|
*
|
|
1023
|
-
*
|
|
1039
|
+
* @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).*
|
|
1024
1040
|
*
|
|
1025
1041
|
* @returns The timezone offset string in `±HH:mm` format maintaining the current timezone regardless of system having different one.
|
|
1026
1042
|
*/
|
|
1027
1043
|
getTimeZoneOffset(): $UTCOffset;
|
|
1028
1044
|
/**
|
|
1029
|
-
* @instance Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local
|
|
1045
|
+
* @instance Gets the difference in minutes between Universal Coordinated Time (UTC) and the time on the local system.
|
|
1030
1046
|
*
|
|
1031
1047
|
* - *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.*
|
|
1032
1048
|
*
|
|
@@ -1036,12 +1052,11 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1036
1052
|
*/
|
|
1037
1053
|
getUTCOffsetMinutes(): number;
|
|
1038
1054
|
/**
|
|
1039
|
-
* @instance Returns the current `Chronos` instance's
|
|
1055
|
+
* @instance Returns the current `Chronos` instance's timezone offset in minutes.
|
|
1040
1056
|
*
|
|
1041
|
-
* This reflects the parsed or stored offset used internally by `Chronos` and follows
|
|
1042
|
-
* sign convention: positive for timezones ahead of UTC, negative for behind.
|
|
1057
|
+
* @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.
|
|
1043
1058
|
*
|
|
1044
|
-
* @returns The
|
|
1059
|
+
* @returns The timezone offset in minutes maintaining the current timezone regardless of system having different one.
|
|
1045
1060
|
*/
|
|
1046
1061
|
getTimeZoneOffsetMinutes(): number;
|
|
1047
1062
|
/** @instance Returns new `Chronos` instance in UTC time */
|
|
@@ -1160,7 +1175,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1160
1175
|
*
|
|
1161
1176
|
* - *Input will default to today's date and assume local timezone if no offset is provided.*
|
|
1162
1177
|
*
|
|
1163
|
-
* @param format - Format tokens accepted by {@link
|
|
1178
|
+
* @param format - Format tokens accepted by {@link formatSafe()} method ({@link TimeOnlyFormat}) for time part only.
|
|
1164
1179
|
* Default: `hh:mm:ss a` → 02:33:36 pm.
|
|
1165
1180
|
* @returns Formatted time string in local (System) time.
|
|
1166
1181
|
*/
|
|
@@ -1172,7 +1187,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1172
1187
|
* @param options - Relative range (e.g., 7 days, 4 weeks) and output format (local with timezone or utc).
|
|
1173
1188
|
* @returns Array of ISO date strings in the specified format. Returns empty array if no matches in the time span.
|
|
1174
1189
|
*
|
|
1175
|
-
* - Please refer to {@link https://
|
|
1190
|
+
* - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/static/get-dates-for-day docs} for details.
|
|
1176
1191
|
*
|
|
1177
1192
|
* @example
|
|
1178
1193
|
* Chronos.getDatesForDay('Wednesday', { span: 7, unit: 'day' });
|
|
@@ -1194,7 +1209,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1194
1209
|
* @param options - Date range (from/to, e.g. `'2025-06-30'`, ` new Date()`, `new Chronos()` etc.) and output format (local with timezone or utc).
|
|
1195
1210
|
* @returns Array of ISO date strings in the specified format. Returns empty array if no matches in the range.
|
|
1196
1211
|
*
|
|
1197
|
-
* - Please refer to {@link https://
|
|
1212
|
+
* - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/static/get-dates-for-day docs} for details.
|
|
1198
1213
|
*
|
|
1199
1214
|
* @remarks
|
|
1200
1215
|
* - When using `Chronos` instances for `from` and/or `to`, ensure both are created in the **same time zone** to avoid mismatched boundaries.
|
|
@@ -1300,7 +1315,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1300
1315
|
* - To prevent this incorrect *linter error* in `React` projects, prefer using {@link register} method (alias `use` method).
|
|
1301
1316
|
*
|
|
1302
1317
|
* - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
|
|
1303
|
-
* - See {@link https://
|
|
1318
|
+
* - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
|
|
1304
1319
|
*/
|
|
1305
1320
|
static use(plugin: ChronosPlugin): void;
|
|
1306
1321
|
/**
|
|
@@ -1313,7 +1328,7 @@ declare class Chronos<Tz extends ChronosTimeZone = 'System'> {
|
|
|
1313
1328
|
* - To prevent this incorrect *linter error* in `React` projects, prefer using this (`register`) method over {@link use} method.
|
|
1314
1329
|
*
|
|
1315
1330
|
* - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
|
|
1316
|
-
* - See {@link https://
|
|
1331
|
+
* - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
|
|
1317
1332
|
*/
|
|
1318
1333
|
static register(plugin: ChronosPlugin): void;
|
|
1319
1334
|
}
|
|
@@ -1411,7 +1426,7 @@ interface ChronosStatics {
|
|
|
1411
1426
|
* - To prevent this incorrect *linter error* in `React` projects, prefer using {@link register} method (alias `use` method).
|
|
1412
1427
|
*
|
|
1413
1428
|
* - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
|
|
1414
|
-
* - See {@link https://
|
|
1429
|
+
* - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
|
|
1415
1430
|
*/
|
|
1416
1431
|
use(plugin: ChronosPlugin): void;
|
|
1417
1432
|
/**
|
|
@@ -1424,7 +1439,7 @@ interface ChronosStatics {
|
|
|
1424
1439
|
* - To prevent this incorrect *linter error* in `React` projects, prefer using this (`register`) method over {@link use} method.
|
|
1425
1440
|
*
|
|
1426
1441
|
* - **NOTE:** *Once a plugin is injected, all the registered methods for that plugin will be available for the whole project.*
|
|
1427
|
-
* - See {@link https://
|
|
1442
|
+
* - See {@link https://chronos.nazmul-nhb.dev/docs/plugins#-official-plugins full list of plugins and the methods they register}.
|
|
1428
1443
|
*/
|
|
1429
1444
|
register(plugin: ChronosPlugin): void;
|
|
1430
1445
|
/**
|
|
@@ -1524,7 +1539,7 @@ interface ChronosStatics {
|
|
|
1524
1539
|
*
|
|
1525
1540
|
* * *Input will default to today's date and assume local timezone if no offset is provided.*
|
|
1526
1541
|
*
|
|
1527
|
-
* @param format - Format string accepted by `
|
|
1542
|
+
* @param format - Format string accepted by `formatSafe()` method (`TimeParts`). Default: `hh:mm:ss a` → 02:33:36 pm.
|
|
1528
1543
|
* @returns Formatted time string in local (System) time.
|
|
1529
1544
|
*/
|
|
1530
1545
|
formatTimePart(time: string, format?: TimeFormatToken): string;
|
|
@@ -1686,7 +1701,7 @@ type MonthDateString = Exclude<`${MonthString}-${DateString}`, '02-30' | '02-31'
|
|
|
1686
1701
|
interface DateFormatOptions extends FormatOptions {
|
|
1687
1702
|
/** - Date to format, must be parsable by {@link Date} constructor. Can be string, number or `Date`. Defaults to current time. */
|
|
1688
1703
|
date?: DateArgs;
|
|
1689
|
-
format?:
|
|
1704
|
+
format?: SafeFormat;
|
|
1690
1705
|
}
|
|
1691
1706
|
/** Interface representing a date-like object. */
|
|
1692
1707
|
interface DateLike {
|
|
@@ -1768,7 +1783,7 @@ interface FormatOptions {
|
|
|
1768
1783
|
*
|
|
1769
1784
|
* - 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`, and `ZZ`.
|
|
1770
1785
|
* - *Any token not wrapped in brackets will be parsed and replaced with its corresponding date component.*
|
|
1771
|
-
* - Please refer to {@link https://
|
|
1786
|
+
* - Please refer to {@link https://chronos.nazmul-nhb.dev/docs/chronos/format#format-tokens format tokens} for details.
|
|
1772
1787
|
*/
|
|
1773
1788
|
format?: string;
|
|
1774
1789
|
/** - Whether to use UTC time. Defaults to `false`. */
|
|
@@ -1864,7 +1879,7 @@ interface ChronosInternals {
|
|
|
1864
1879
|
* @param offset Optional UTC offset in `UTC±HH:mm` format.
|
|
1865
1880
|
* @param tzName Optional time zone name to set.
|
|
1866
1881
|
* @param tzId Optional time zone identifier(s) to set.
|
|
1867
|
-
* @param tzTracker Optional tracker to identify the instance created by {@link https://
|
|
1882
|
+
* @param tzTracker Optional tracker to identify the instance created by {@link https://chronos.nazmul-nhb.dev/docs/plugins/timezone-plugin#timezone timeZone} method.
|
|
1868
1883
|
* @returns The `Chronos` instance with the specified origin and other properties.
|
|
1869
1884
|
*/
|
|
1870
1885
|
withOrigin<Tz extends ChronosTimeZone>(instance: Chronos, method: PluginMethods, offset?: UTCOffset, tzName?: LooseLiteral<TimeZoneName>, tzId?: TimeZoneId, tzTracker?: $TimeZoneIdentifier | TimeZone | UTCOffset): Chronos<Tz>;
|
|
@@ -2149,4 +2164,4 @@ interface DurationOptions {
|
|
|
2149
2164
|
showZero?: boolean;
|
|
2150
2165
|
}
|
|
2151
2166
|
//#endregion
|
|
2152
|
-
export { $UnitAnyCase as $, BanglaDateOptions as $t, ChronosObject as A, TimeZoneDetails as At, WeekdayOptions as B, ChronosStatics as Bt, $Chronos as C, Numeric as Cn, NumberingSystem as Ct, ChronosInput as D, RangeTuple as Dn, TimeUnitValue as Dt, $StaticMethods as E, LooseLiteral as En, TimeUnit as Et, DatesInRangeOptions as F, TimeZoneNameNative as Ft, $LocalArguments as G, $BanglaYear as Gt, $DateUnit as H, chronos as Ht, PluginMethods as I, TimestampOptions as It, $TimeUnitKey as J, $BnMonthPadded as Jt, $NativeTzNameOrId as K, $BnDatePadded as Kt, RangeWithDates as L, UTCMinute as Lt, ChronosTimeZone as M, TimeZoneIdNative as Mt, ChronosWithOptions as N, TimeZoneIdentifier as Nt, ChronosInternals as O, TimeWithUnit as Ot, DateRangeOptions as P, TimeZoneName as Pt, $UTCOffset as Q, BanglaDateObject as Qt, RelativeDateRange as R, UTCOffset as Rt, ZodiacSign as S, Maybe as Sn, NegativeUTCHour as St, $PluginMethods as T, NumberRange as Tn, Quarter as Tt, $GMTOffset as U, $BanglaMonth as Ut, WithoutOrigin as V, Chronos as Vt, $ISOTimeString as W, $BanglaMonthDate as Wt, $TimeUnitVarMap as X, BanglaDate as Xt, $TimeUnitVar as Y, $BnYearPadded as Yt, $TimeZoneIdentifier as Z, BanglaDateFormat as Zt, ZodiacArray as _,
|
|
2167
|
+
export { $UnitAnyCase as $, BanglaDateOptions as $t, ChronosObject as A, TimeZoneDetails as At, WeekdayOptions as B, ChronosStatics as Bt, $Chronos as C, Numeric as Cn, NumberingSystem as Ct, ChronosInput as D, RangeTuple as Dn, TimeUnitValue as Dt, $StaticMethods as E, LooseLiteral as En, TimeUnit as Et, DatesInRangeOptions as F, TimeZoneNameNative as Ft, $LocalArguments as G, $BanglaYear as Gt, $DateUnit as H, chronos as Ht, PluginMethods as I, TimestampOptions as It, $TimeUnitKey as J, $BnMonthPadded as Jt, $NativeTzNameOrId as K, $BnDatePadded as Kt, RangeWithDates as L, UTCMinute as Lt, ChronosTimeZone as M, TimeZoneIdNative as Mt, ChronosWithOptions as N, TimeZoneIdentifier as Nt, ChronosInternals as O, TimeWithUnit as Ot, DateRangeOptions as P, TimeZoneName as Pt, $UTCOffset as Q, BanglaDateObject as Qt, RelativeDateRange as R, UTCOffset as Rt, ZodiacSign as S, Maybe as Sn, NegativeUTCHour as St, $PluginMethods as T, NumberRange as Tn, Quarter as Tt, $GMTOffset as U, $BanglaMonth as Ut, WithoutOrigin as V, Chronos as Vt, $ISOTimeString as W, $BanglaMonthDate as Wt, $TimeUnitVarMap as X, BanglaDate as Xt, $TimeUnitVar as Y, $BnYearPadded as Yt, $TimeZoneIdentifier as Z, BanglaDateFormat as Zt, ZodiacArray as _, SecondToken as _n, LocalesArguments as _t, BusinessOptionsWeekends as a, BnCalendarConfig as an, DateArgs as at, ZodiacOptions as b, TimeToken as bn, MonthName as bt, DayPart as c, DateFormatToken as cn, DateString as ct, DurationOptions as d, FormatToken as dn, FromNowUnit as dt, BanglaDayName as en, ChronosStaticKey as et, MonthBoundary as f, HourToken as fn, GreetingConfigs as ft, TimeDuration as g, SafeFormat as gn, LocaleCalendar as gt, SeasonPreset as h, MonthToken as hn, ISODateTimeString as ht, BusinessOptionsBasic as i, BanglaYear as in, ClockTime as it, ChronosProperties as j, TimeZoneId as jt, ChronosMethods as k, TimeZone as kt, DayPartConfig as l, DateToken as ln, DateTimeFormatOptions as lt, SeasonOptions as m, MinuteToken as mn, ISODateFormat as mt, $BusinessHourOptions as n, BanglaMonthName as nn, ClockMinute as nt, ChronosPlugin as o, BnCalendarVariant as on, DateFormatOptions as ot, SeasonDefinition as p, MSToken as pn, HourMinutes as pt, $TZLabelKey as q, $BnEn as qt, AcademicYear as r, BanglaSeasonName as rn, ClockSecond as rt, DateBoundary as s, DateWithSeasonToken as sn, DateLike as st, $BusinessHourBaseOptions as t, BanglaMonth as tn, ClockHour as tt, DurationKey as u, DayToken as un, FormatOptions as ut, ZodiacMeta as v, TimeFormatToken as vn, Milliseconds as vt, $InstanceMethods as w, Enumerate as wn, PositiveUTCHour as wt, ZodiacPreset as x, YearToken as xn, MonthString as xt, ZodiacMetaOptions as y, TimeOnlyFormat as yn, MonthDateString as yt, RelativeRangeOptions as z, WeekDay as zt };
|