From fe07795d98e415be251cfa196ce25191e4d34e6f Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 12 Sep 2026 19:26:26 +0200 Subject: script for cleaning --- src/temporal-ambient.d.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/temporal-ambient.d.ts b/src/temporal-ambient.d.ts index f6080b0..fbd721e 100644 --- a/src/temporal-ambient.d.ts +++ b/src/temporal-ambient.d.ts @@ -43,7 +43,18 @@ declare global { options?: Intl.DateTimeFormatOptions, ): string; } - + interface PlainDate { + /** ISO day of week: Monday = 1 … Sunday = 7. */ + readonly dayOfWeek: number; + add(durationLike: DurationLike): PlainDate; + subtract(durationLike: DurationLike): PlainDate; + toZonedDateTime(timeZone: TimeZoneId): ZonedDateTime; + } + namespace PlainDate { + function from( + plainDateLike: { year: number; month: number; day: number }, + ): PlainDate; + } namespace Now { function instant(): Instant; function timeZoneId(): TimeZoneId; -- cgit v1.3