/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
typescript
/
lib
/
/home/techb158/balavpn.abdallabala.com/node_modules/typescript/lib
mkdir
upload
Name
Size
Mode
Actions
cs/
-
0777
rm
de/
-
0777
rm
es/
-
0777
rm
fr/
-
0777
rm
it/
-
0777
rm
ja/
-
0777
rm
ko/
-
0777
rm
pl/
-
0777
rm
pt-br/
-
0777
rm
ru/
-
0777
rm
tr/
-
0777
rm
zh-cn/
-
0777
rm
zh-tw/
-
0777
rm
lib.d.ts
953
0666
edit
dl
rm
lib.decorators.d.ts
13153
0666
edit
dl
rm
lib.decorators.legacy.d.ts
1287
0666
edit
dl
rm
lib.dom.asynciterable.d.ts
933
0666
edit
dl
rm
lib.dom.d.ts
2349483
0666
edit
dl
rm
lib.dom.iterable.d.ts
933
0666
edit
dl
rm
lib.es5.d.ts
218972
0666
edit
dl
rm
lib.es6.d.ts
993
0666
edit
dl
rm
lib.es2015.collection.d.ts
5305
0666
edit
dl
rm
lib.es2015.core.d.ts
22824
0666
edit
dl
rm
lib.es2015.d.ts
1202
0666
edit
dl
rm
lib.es2015.generator.d.ts
2518
0666
edit
dl
rm
lib.es2015.iterable.d.ts
18185
0666
edit
dl
rm
lib.es2015.promise.d.ts
3161
0666
edit
dl
rm
lib.es2015.proxy.d.ts
5212
0666
edit
dl
rm
lib.es2015.reflect.d.ts
6454
0666
edit
dl
rm
lib.es2015.symbol.d.ts
1610
0666
edit
dl
rm
lib.es2015.symbol.wellknown.d.ts
10971
0666
edit
dl
rm
lib.es2016.array.include.d.ts
5165
0666
edit
dl
rm
lib.es2016.d.ts
926
0666
edit
dl
rm
lib.es2016.full.d.ts
993
0666
edit
dl
rm
lib.es2016.intl.d.ts
1445
0666
edit
dl
rm
lib.es2017.arraybuffer.d.ts
876
0666
edit
dl
rm
lib.es2017.d.ts
1123
0666
edit
dl
rm
lib.es2017.date.d.ts
1877
0666
edit
dl
rm
lib.es2017.full.d.ts
993
0666
edit
dl
rm
lib.es2017.intl.d.ts
1410
0666
edit
dl
rm
lib.es2017.object.d.ts
2434
0666
edit
dl
rm
lib.es2017.sharedmemory.d.ts
7170
0666
edit
dl
rm
lib.es2017.string.d.ts
2339
0666
edit
dl
rm
lib.es2017.typedarrays.d.ts
1503
0666
edit
dl
rm
lib.es2018.asyncgenerator.d.ts
2653
0666
edit
dl
rm
lib.es2018.asynciterable.d.ts
2218
0666
edit
dl
rm
lib.es2018.d.ts
1049
0666
edit
dl
rm
lib.es2018.full.d.ts
1035
0666
edit
dl
rm
lib.es2018.intl.d.ts
2982
0666
edit
dl
rm
lib.es2018.promise.d.ts
1314
0666
edit
dl
rm
lib.es2018.regexp.d.ts
1193
0666
edit
dl
rm
lib.es2019.array.d.ts
3124
0666
edit
dl
rm
lib.es2019.d.ts
1032
0666
edit
dl
rm
lib.es2019.full.d.ts
1035
0666
edit
dl
rm
lib.es2019.intl.d.ts
919
0666
edit
dl
rm
lib.es2019.object.d.ts
1434
0666
edit
dl
rm
lib.es2019.string.d.ts
1489
0666
edit
dl
rm
lib.es2019.symbol.d.ts
967
0666
edit
dl
rm
lib.es2020.bigint.d.ts
38258
0666
edit
dl
rm
lib.es2020.d.ts
1162
0666
edit
dl
rm
lib.es2020.date.d.ts
2917
0666
edit
dl
rm
lib.es2020.full.d.ts
1035
0666
edit
dl
rm
lib.es2020.intl.d.ts
22399
0666
edit
dl
rm
lib.es2020.number.d.ts
1548
0666
edit
dl
rm
lib.es2020.promise.d.ts
1764
0666
edit
dl
rm
lib.es2020.sharedmemory.d.ts
5089
0666
edit
dl
rm
lib.es2020.string.d.ts
2451
0666
edit
dl
rm
lib.es2020.symbol.wellknown.d.ts
1566
0666
edit
dl
rm
lib.es2021.d.ts
997
0666
edit
dl
rm
lib.es2021.full.d.ts
1035
0666
edit
dl
rm
lib.es2021.intl.d.ts
8206
0666
edit
dl
rm
lib.es2021.promise.d.ts
2223
0666
edit
dl
rm
lib.es2021.string.d.ts
1553
0666
edit
dl
rm
lib.es2021.weakref.d.ts
3132
0666
edit
dl
rm
lib.es2022.array.d.ts
4637
0666
edit
dl
rm
lib.es2022.d.ts
1069
0666
edit
dl
rm
lib.es2022.error.d.ts
2340
0666
edit
dl
rm
lib.es2022.full.d.ts
1035
0666
edit
dl
rm
lib.es2022.intl.d.ts
7653
0666
edit
dl
rm
lib.es2022.object.d.ts
1046
0666
edit
dl
rm
lib.es2022.regexp.d.ts
1304
0666
edit
dl
rm
lib.es2022.string.d.ts
1116
0666
edit
dl
rm
lib.es2023.array.d.ts
40197
0666
edit
dl
rm
lib.es2023.collection.d.ts
861
0666
edit
dl
rm
lib.es2023.d.ts
960
0666
edit
dl
rm
lib.es2023.full.d.ts
1035
0666
edit
dl
rm
lib.es2023.intl.d.ts
2854
0666
edit
dl
rm
lib.es2024.arraybuffer.d.ts
2598
0666
edit
dl
rm
lib.es2024.collection.d.ts
1185
0666
edit
dl
rm
lib.es2024.d.ts
1127
0666
edit
dl
rm
lib.es2024.full.d.ts
1035
0666
edit
dl
rm
lib.es2024.object.d.ts
1220
0666
edit
dl
rm
lib.es2024.promise.d.ts
1350
0666
edit
dl
rm
lib.es2024.regexp.d.ts
1034
0666
edit
dl
rm
lib.es2024.sharedmemory.d.ts
3038
0666
edit
dl
rm
lib.es2024.string.d.ts
1155
0666
edit
dl
rm
lib.es2025.collection.d.ts
3839
0666
edit
dl
rm
lib.es2025.d.ts
1079
0666
edit
dl
rm
lib.es2025.float16.d.ts
20489
0666
edit
dl
rm
lib.es2025.full.d.ts
1035
0666
edit
dl
rm
lib.es2025.intl.d.ts
9390
0666
edit
dl
rm
lib.es2025.iterator.d.ts
8637
0666
edit
dl
rm
lib.es2025.promise.d.ts
1619
0666
edit
dl
rm
lib.es2025.regexp.d.ts
1255
0666
edit
dl
rm
lib.esnext.array.d.ts
1752
0666
edit
dl
rm
lib.esnext.collection.d.ts
2598
0666
edit
dl
rm
lib.esnext.d.ts
1244
0666
edit
dl
rm
lib.esnext.date.d.ts
917
0666
edit
dl
rm
lib.esnext.decorators.d.ts
1031
0666
edit
dl
rm
lib.esnext.disposable.d.ts
6767
0666
edit
dl
rm
lib.esnext.error.d.ts
990
0666
edit
dl
rm
lib.esnext.full.d.ts
1035
0666
edit
dl
rm
lib.esnext.intl.d.ts
5305
0666
edit
dl
rm
lib.esnext.sharedmemory.d.ts
1028
0666
edit
dl
rm
lib.esnext.temporal.d.ts
22011
0666
edit
dl
rm
lib.esnext.typedarrays.d.ts
3350
0666
edit
dl
rm
lib.scripthost.d.ts
9412
0666
edit
dl
rm
lib.webworker.asynciterable.d.ts
933
0666
edit
dl
rm
lib.webworker.d.ts
787076
0666
edit
dl
rm
lib.webworker.importscripts.d.ts
1002
0666
edit
dl
rm
lib.webworker.iterable.d.ts
933
0666
edit
dl
rm
tsc.js
267
0666
edit
dl
rm
tsserver.js
272
0666
edit
dl
rm
tsserverlibrary.d.ts
866
0666
edit
dl
rm
tsserverlibrary.js
1013
0666
edit
dl
rm
typescript.d.ts
588452
0666
edit
dl
rm
typescript.js
9144216
0666
edit
dl
rm
typesMap.json
16788
0666
edit
dl
rm
typingsInstaller.js
280
0666
edit
dl
rm
watchGuard.js
2314
0666
edit
dl
rm
_tsc.js
6239091
0666
edit
dl
rm
_tsserver.js
27889
0666
edit
dl
rm
_typingsInstaller.js
10364
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/typescript/lib/lib.esnext.temporal.d.ts
(22011B)
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ /// <reference lib="es2015.symbol.wellknown" /> /// <reference lib="es2020.intl" /> /// <reference lib="es2025.intl" /> declare namespace Temporal { type CalendarLike = PlainDate | PlainDateTime | PlainMonthDay | PlainYearMonth | ZonedDateTime | string; type DurationLike = Duration | DurationLikeObject | string; type InstantLike = Instant | ZonedDateTime | string; type PlainDateLike = PlainDate | ZonedDateTime | PlainDateTime | DateLikeObject | string; type PlainDateTimeLike = PlainDateTime | ZonedDateTime | PlainDate | DateTimeLikeObject | string; type PlainMonthDayLike = PlainMonthDay | DateLikeObject | string; type PlainTimeLike = PlainTime | PlainDateTime | ZonedDateTime | TimeLikeObject | string; type PlainYearMonthLike = PlainYearMonth | YearMonthLikeObject | string; type TimeZoneLike = ZonedDateTime | string; type ZonedDateTimeLike = ZonedDateTime | ZonedDateTimeLikeObject | string; type PartialTemporalLike<T extends object> = { [P in Exclude<keyof T, "calendar" | "timeZone">]?: T[P] | undefined; }; interface DateLikeObject { year?: number | undefined; era?: string | undefined; eraYear?: number | undefined; month?: number | undefined; monthCode?: string | undefined; day: number; calendar?: string | undefined; } interface DateTimeLikeObject extends DateLikeObject, TimeLikeObject {} interface DurationLikeObject { years?: number | undefined; months?: number | undefined; weeks?: number | undefined; days?: number | undefined; hours?: number | undefined; minutes?: number | undefined; seconds?: number | undefined; milliseconds?: number | undefined; microseconds?: number | undefined; nanoseconds?: number | undefined; } interface TimeLikeObject { hour?: number | undefined; minute?: number | undefined; second?: number | undefined; millisecond?: number | undefined; microsecond?: number | undefined; nanosecond?: number | undefined; } interface YearMonthLikeObject extends Omit<DateLikeObject, "day"> {} interface ZonedDateTimeLikeObject extends DateTimeLikeObject { timeZone: TimeZoneLike; offset?: string | undefined; } type DateUnit = "year" | "month" | "week" | "day"; type TimeUnit = "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond"; type PluralizeUnit<T extends DateUnit | TimeUnit> = | T | { year: "years"; month: "months"; week: "weeks"; day: "days"; hour: "hours"; minute: "minutes"; second: "seconds"; millisecond: "milliseconds"; microsecond: "microseconds"; nanosecond: "nanoseconds"; }[T]; interface DisambiguationOptions { disambiguation?: "compatible" | "earlier" | "later" | "reject" | undefined; } interface OverflowOptions { overflow?: "constrain" | "reject" | undefined; } interface TransitionOptions { direction: "next" | "previous"; } interface RoundingOptions<Units extends DateUnit | TimeUnit> { smallestUnit?: PluralizeUnit<Units> | undefined; roundingIncrement?: number | undefined; roundingMode?: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined; } interface RoundingOptionsWithLargestUnit<Units extends DateUnit | TimeUnit> extends RoundingOptions<Units> { largestUnit?: "auto" | PluralizeUnit<Units> | undefined; } interface ToStringRoundingOptions<Units extends DateUnit | TimeUnit> extends Pick<RoundingOptions<Units>, "smallestUnit" | "roundingMode"> {} interface ToStringRoundingOptionsWithFractionalSeconds<Units extends DateUnit | TimeUnit> extends ToStringRoundingOptions<Units> { fractionalSecondDigits?: "auto" | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | undefined; } namespace Now { function timeZoneId(): string; function instant(): Instant; function plainDateTimeISO(timeZone?: TimeZoneLike): PlainDateTime; function zonedDateTimeISO(timeZone?: TimeZoneLike): ZonedDateTime; function plainDateISO(timeZone?: TimeZoneLike): PlainDate; function plainTimeISO(timeZone?: TimeZoneLike): PlainTime; } interface PlainDateToStringOptions { calendarName?: "auto" | "always" | "never" | "critical" | undefined; } interface PlainDateToZonedDateTimeOptions { plainTime?: PlainTimeLike | undefined; timeZone: TimeZoneLike; } interface PlainDate { readonly calendarId: string; readonly era: string | undefined; readonly eraYear: number | undefined; readonly year: number; readonly month: number; readonly monthCode: string; readonly day: number; readonly dayOfWeek: number; readonly dayOfYear: number; readonly weekOfYear: number | undefined; readonly yearOfWeek: number | undefined; readonly daysInWeek: number; readonly daysInMonth: number; readonly daysInYear: number; readonly monthsInYear: number; readonly inLeapYear: boolean; toPlainYearMonth(): PlainYearMonth; toPlainMonthDay(): PlainMonthDay; add(duration: DurationLike, options?: OverflowOptions): PlainDate; subtract(duration: DurationLike, options?: OverflowOptions): PlainDate; with(dateLike: PartialTemporalLike<DateLikeObject>, options?: OverflowOptions): PlainDate; withCalendar(calendarLike: CalendarLike): PlainDate; until(other: PlainDateLike, options?: RoundingOptionsWithLargestUnit<DateUnit>): Duration; since(other: PlainDateLike, options?: RoundingOptionsWithLargestUnit<DateUnit>): Duration; equals(other: PlainDateLike): boolean; toPlainDateTime(time?: PlainTimeLike): PlainDateTime; toZonedDateTime(timeZone: TimeZoneLike): ZonedDateTime; toZonedDateTime(item: PlainDateToZonedDateTimeOptions): ZonedDateTime; toString(options?: PlainDateToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string; toJSON(): string; valueOf(): never; readonly [Symbol.toStringTag]: "Temporal.PlainDate"; } interface PlainDateConstructor { new (isoYear: number, isoMonth: number, isoDay: number, calendar?: string): PlainDate; readonly prototype: PlainDate; from(item: PlainDateLike, options?: OverflowOptions): PlainDate; compare(one: PlainDateLike, two: PlainDateLike): number; } var PlainDate: PlainDateConstructor; interface PlainTimeToStringOptions extends ToStringRoundingOptionsWithFractionalSeconds<Exclude<TimeUnit, "hour">> {} interface PlainTime { readonly hour: number; readonly minute: number; readonly second: number; readonly millisecond: number; readonly microsecond: number; readonly nanosecond: number; add(duration: DurationLike): PlainTime; subtract(duration: DurationLike): PlainTime; with(timeLike: PartialTemporalLike<TimeLikeObject>, options?: OverflowOptions): PlainTime; until(other: PlainTimeLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration; since(other: PlainTimeLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration; equals(other: PlainTimeLike): boolean; round(roundTo: PluralizeUnit<TimeUnit>): PlainTime; round(roundTo: RoundingOptions<TimeUnit>): PlainTime; toString(options?: PlainTimeToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string; toJSON(): string; valueOf(): never; readonly [Symbol.toStringTag]: "Temporal.PlainTime"; } interface PlainTimeConstructor { new (hour?: number, minute?: number, second?: number, millisecond?: number, microsecond?: number, nanosecond?: number): PlainTime; readonly prototype: PlainTime; from(item: PlainTimeLike, options?: OverflowOptions): PlainTime; compare(one: PlainTimeLike, two: PlainTimeLike): number; } var PlainTime: PlainTimeConstructor; interface PlainDateTimeToStringOptions extends PlainDateToStringOptions, PlainTimeToStringOptions {} interface PlainDateTime { readonly calendarId: string; readonly era: string | undefined; readonly eraYear: number | undefined; readonly year: number; readonly month: number; readonly monthCode: string; readonly day: number; readonly hour: number; readonly minute: number; readonly second: number; readonly millisecond: number; readonly microsecond: number; readonly nanosecond: number; readonly dayOfWeek: number; readonly dayOfYear: number; readonly weekOfYear: number | undefined; readonly yearOfWeek: number | undefined; readonly daysInWeek: number; readonly daysInMonth: number; readonly daysInYear: number; readonly monthsInYear: number; readonly inLeapYear: boolean; with(dateTimeLike: PartialTemporalLike<DateTimeLikeObject>, options?: OverflowOptions): PlainDateTime; withPlainTime(plainTime?: PlainTimeLike): PlainDateTime; withCalendar(calendar: CalendarLike): PlainDateTime; add(duration: DurationLike, options?: OverflowOptions): PlainDateTime; subtract(duration: DurationLike, options?: OverflowOptions): PlainDateTime; until(other: PlainDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration; since(other: PlainDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration; round(roundTo: PluralizeUnit<"day" | TimeUnit>): PlainDateTime; round(roundTo: RoundingOptions<"day" | TimeUnit>): PlainDateTime; equals(other: PlainDateTimeLike): boolean; toString(options?: PlainDateTimeToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string; toJSON(): string; valueOf(): never; toZonedDateTime(timeZone: TimeZoneLike, options?: DisambiguationOptions): ZonedDateTime; toPlainDate(): PlainDate; toPlainTime(): PlainTime; readonly [Symbol.toStringTag]: "Temporal.PlainDateTime"; } interface PlainDateTimeConstructor { new (isoYear: number, isoMonth: number, isoDay: number, hour?: number, minute?: number, second?: number, millisecond?: number, microsecond?: number, nanosecond?: number, calendar?: string): PlainDateTime; readonly prototype: PlainDateTime; from(item: PlainDateTimeLike, options?: OverflowOptions): PlainDateTime; compare(one: PlainDateTimeLike, two: PlainDateTimeLike): number; } var PlainDateTime: PlainDateTimeConstructor; interface ZonedDateTimeToStringOptions extends PlainDateTimeToStringOptions { offset?: "auto" | "never" | undefined; timeZoneName?: "auto" | "never" | "critical" | undefined; } interface ZonedDateTimeFromOptions extends OverflowOptions, DisambiguationOptions { offset?: "use" | "ignore" | "prefer" | "reject" | undefined; } interface ZonedDateTime { readonly calendarId: string; readonly timeZoneId: string; readonly era: string | undefined; readonly eraYear: number | undefined; readonly year: number; readonly month: number; readonly monthCode: string; readonly day: number; readonly hour: number; readonly minute: number; readonly second: number; readonly millisecond: number; readonly microsecond: number; readonly nanosecond: number; readonly epochMilliseconds: number; readonly epochNanoseconds: bigint; readonly dayOfWeek: number; readonly dayOfYear: number; readonly weekOfYear: number | undefined; readonly yearOfWeek: number | undefined; readonly hoursInDay: number; readonly daysInWeek: number; readonly daysInMonth: number; readonly daysInYear: number; readonly monthsInYear: number; readonly inLeapYear: boolean; readonly offsetNanoseconds: number; readonly offset: string; with(zonedDateTimeLike: PartialTemporalLike<ZonedDateTimeLikeObject>, options?: ZonedDateTimeFromOptions): ZonedDateTime; withPlainTime(plainTime?: PlainTimeLike): ZonedDateTime; withTimeZone(timeZone: TimeZoneLike): ZonedDateTime; withCalendar(calendar: CalendarLike): ZonedDateTime; add(duration: DurationLike, options?: OverflowOptions): ZonedDateTime; subtract(duration: DurationLike, options?: OverflowOptions): ZonedDateTime; until(other: ZonedDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration; since(other: ZonedDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration; round(roundTo: PluralizeUnit<"day" | TimeUnit>): ZonedDateTime; round(roundTo: RoundingOptions<"day" | TimeUnit>): ZonedDateTime; equals(other: ZonedDateTimeLike): boolean; toString(options?: ZonedDateTimeToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string; toJSON(): string; valueOf(): never; startOfDay(): ZonedDateTime; getTimeZoneTransition(direction: "next" | "previous"): ZonedDateTime | null; getTimeZoneTransition(direction: TransitionOptions): ZonedDateTime | null; toInstant(): Instant; toPlainDate(): PlainDate; toPlainTime(): PlainTime; toPlainDateTime(): PlainDateTime; readonly [Symbol.toStringTag]: "Temporal.ZonedDateTime"; } interface ZonedDateTimeConstructor { new (epochNanoseconds: bigint, timeZone: string, calendar?: string): ZonedDateTime; readonly prototype: ZonedDateTime; from(item: ZonedDateTimeLike, options?: ZonedDateTimeFromOptions): ZonedDateTime; compare(one: ZonedDateTimeLike, two: ZonedDateTimeLike): number; } var ZonedDateTime: ZonedDateTimeConstructor; interface DurationRelativeToOptions { relativeTo?: ZonedDateTimeLike | PlainDateLike | undefined; } interface DurationRoundingOptions extends DurationRelativeToOptions, RoundingOptionsWithLargestUnit<DateUnit | TimeUnit> {} interface DurationToStringOptions extends ToStringRoundingOptionsWithFractionalSeconds<Exclude<TimeUnit, "hour" | "minute">> {} interface DurationTotalOptions extends DurationRelativeToOptions { unit: PluralizeUnit<DateUnit | TimeUnit>; } interface Duration { readonly years: number; readonly months: number; readonly weeks: number; readonly days: number; readonly hours: number; readonly minutes: number; readonly seconds: number; readonly milliseconds: number; readonly microseconds: number; readonly nanoseconds: number; readonly sign: number; readonly blank: boolean; with(durationLike: PartialTemporalLike<DurationLikeObject>): Duration; negated(): Duration; abs(): Duration; add(other: DurationLike): Duration; subtract(other: DurationLike): Duration; round(roundTo: PluralizeUnit<"day" | TimeUnit>): Duration; round(roundTo: DurationRoundingOptions): Duration; total(totalOf: PluralizeUnit<"day" | TimeUnit>): number; total(totalOf: DurationTotalOptions): number; toString(options?: DurationToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DurationFormatOptions): string; toJSON(): string; valueOf(): never; readonly [Symbol.toStringTag]: "Temporal.Duration"; } interface DurationConstructor { new (years?: number, months?: number, weeks?: number, days?: number, hours?: number, minutes?: number, seconds?: number, milliseconds?: number, microseconds?: number, nanoseconds?: number): Duration; readonly prototype: Duration; from(item: DurationLike): Duration; compare(one: DurationLike, two: DurationLike, options?: DurationRelativeToOptions): number; } var Duration: DurationConstructor; interface InstantToStringOptions extends PlainTimeToStringOptions { timeZone?: TimeZoneLike | undefined; } interface Instant { readonly epochMilliseconds: number; readonly epochNanoseconds: bigint; add(duration: DurationLike): Instant; subtract(duration: DurationLike): Instant; until(other: InstantLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration; since(other: InstantLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration; round(roundTo: PluralizeUnit<TimeUnit>): Instant; round(roundTo: RoundingOptions<TimeUnit>): Instant; equals(other: InstantLike): boolean; toString(options?: InstantToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string; toJSON(): string; valueOf(): never; toZonedDateTimeISO(timeZone: TimeZoneLike): ZonedDateTime; readonly [Symbol.toStringTag]: "Temporal.Instant"; } interface InstantConstructor { new (epochNanoseconds: bigint): Instant; readonly prototype: Instant; from(item: InstantLike): Instant; fromEpochMilliseconds(epochMilliseconds: number): Instant; fromEpochNanoseconds(epochNanoseconds: bigint): Instant; compare(one: InstantLike, two: InstantLike): number; } var Instant: InstantConstructor; interface PlainYearMonthToPlainDateOptions { day: number; } interface PlainYearMonth { readonly calendarId: string; readonly era: string | undefined; readonly eraYear: number | undefined; readonly year: number; readonly month: number; readonly monthCode: string; readonly daysInYear: number; readonly daysInMonth: number; readonly monthsInYear: number; readonly inLeapYear: boolean; with(yearMonthLike: PartialTemporalLike<YearMonthLikeObject>, options?: OverflowOptions): PlainYearMonth; add(duration: DurationLike, options?: OverflowOptions): PlainYearMonth; subtract(duration: DurationLike, options?: OverflowOptions): PlainYearMonth; until(other: PlainYearMonthLike, options?: RoundingOptionsWithLargestUnit<"year" | "month">): Duration; since(other: PlainYearMonthLike, options?: RoundingOptionsWithLargestUnit<"year" | "month">): Duration; equals(other: PlainYearMonthLike): boolean; toString(options?: PlainDateToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string; toJSON(): string; valueOf(): never; toPlainDate(item: PlainYearMonthToPlainDateOptions): PlainDate; readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth"; } interface PlainYearMonthConstructor { new (isoYear: number, isoMonth: number, calendar?: string, referenceISODay?: number): PlainYearMonth; readonly prototype: PlainYearMonth; from(item: PlainYearMonthLike, options?: OverflowOptions): PlainYearMonth; compare(one: PlainYearMonthLike, two: PlainYearMonthLike): number; } var PlainYearMonth: PlainYearMonthConstructor; interface PlainMonthDayToPlainDateOptions { era?: string | undefined; eraYear?: number | undefined; year?: number | undefined; } interface PlainMonthDay { readonly calendarId: string; readonly monthCode: string; readonly day: number; with(monthDayLike: PartialTemporalLike<DateLikeObject>, options?: OverflowOptions): PlainMonthDay; equals(other: PlainMonthDayLike): boolean; toString(options?: PlainDateToStringOptions): string; toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string; toJSON(): string; valueOf(): never; toPlainDate(item: PlainMonthDayToPlainDateOptions): PlainDate; readonly [Symbol.toStringTag]: "Temporal.PlainMonthDay"; } interface PlainMonthDayConstructor { new (isoMonth: number, isoDay: number, calendar?: string, referenceISOYear?: number): PlainMonthDay; readonly prototype: PlainMonthDay; from(item: PlainMonthDayLike, options?: OverflowOptions): PlainMonthDay; } var PlainMonthDay: PlainMonthDayConstructor; }
Save
cmd:
run