Skip to content

Commit 493674b

Browse files
authored
Update Temporal builtins (#1710)
1 parent d7708c7 commit 493674b

File tree

1 file changed

+14
-31
lines changed

1 file changed

+14
-31
lines changed

custom/js.json

+14-31
Original file line numberDiff line numberDiff line change
@@ -304,23 +304,18 @@
304304
"static": [
305305
"add",
306306
"compare",
307-
"epochMicroseconds",
308307
"epochMilliseconds",
309308
"epochNanoseconds",
310-
"epochSeconds",
311309
"equals",
312310
"from",
313-
"fromEpochMicroseconds",
314311
"fromEpochMilliseconds",
315312
"fromEpochNanoseconds",
316-
"fromEpochSeconds",
317313
"round",
318314
"since",
319315
"subtract",
320316
"toJSON",
321317
"toLocaleString",
322318
"toString",
323-
"toZonedDateTime",
324319
"toZonedDateTimeISO",
325320
"until",
326321
"valueOf"
@@ -331,12 +326,9 @@
331326
"members": {
332327
"static": [
333328
"instant",
334-
"plainDate",
335329
"plainDateISO",
336-
"plainDateTime",
337330
"plainDateTimeISO",
338-
"timeZone",
339-
"zonedDateTime",
331+
"timeZoneId",
340332
"zonedDateTimeISO"
341333
]
342334
}
@@ -346,7 +338,7 @@
346338
"members": {
347339
"static": [
348340
"add",
349-
"calendar",
341+
"calendarId",
350342
"compare",
351343
"day",
352344
"dayOfWeek",
@@ -377,7 +369,8 @@
377369
"weekOfYear",
378370
"with",
379371
"withCalendar",
380-
"year"
372+
"year",
373+
"yearOfWeek"
381374
]
382375
}
383376
},
@@ -386,7 +379,7 @@
386379
"members": {
387380
"static": [
388381
"add",
389-
"calendar",
382+
"calendarId",
390383
"compare",
391384
"day",
392385
"dayOfWeek",
@@ -415,27 +408,25 @@
415408
"toJSON",
416409
"toLocaleString",
417410
"toPlainDate",
418-
"toPlainMonthDay",
419411
"toPlainTime",
420-
"toPlainYearMonth",
421412
"toString",
422413
"toZonedDateTime",
423414
"until",
424415
"valueOf",
425416
"weekOfYear",
426417
"with",
427418
"withCalendar",
428-
"withPlainDate",
429419
"withPlainTime",
430-
"year"
420+
"year",
421+
"yearOfWeek"
431422
]
432423
}
433424
},
434425
"Temporal.PlainMonthDay": {
435426
"ctor": {},
436427
"members": {
437428
"static": [
438-
"calendar",
429+
"calendarId",
439430
"day",
440431
"equals",
441432
"from",
@@ -455,7 +446,6 @@
455446
"members": {
456447
"static": [
457448
"add",
458-
"calendar",
459449
"compare",
460450
"equals",
461451
"from",
@@ -471,9 +461,7 @@
471461
"subtract",
472462
"toJSON",
473463
"toLocaleString",
474-
"toPlainDateTime",
475464
"toString",
476-
"toZonedDateTime",
477465
"until",
478466
"valueOf",
479467
"with"
@@ -485,7 +473,7 @@
485473
"members": {
486474
"static": [
487475
"add",
488-
"calendar",
476+
"calendarId",
489477
"compare",
490478
"daysInMonth",
491479
"daysInYear",
@@ -517,12 +505,10 @@
517505
"static": [
518506
"from",
519507
"getInstantFor",
520-
"getNextTransition",
521508
"getOffsetNanosecondsFor",
522509
"getOffsetStringFor",
523510
"getPlainDateTimeFor",
524511
"getPossibleInstantsFor",
525-
"getPreviousTransition",
526512
"id",
527513
"toJSON",
528514
"toString"
@@ -534,23 +520,22 @@
534520
"members": {
535521
"static": [
536522
"add",
537-
"calendar",
523+
"calendarId",
538524
"compare",
539525
"day",
540526
"dayOfWeek",
541527
"dayOfYear",
542528
"daysInMonth",
543529
"daysInWeek",
544530
"daysInYear",
545-
"epochMicroseconds",
546531
"epochMilliseconds",
547532
"epochNanoseconds",
548-
"epochSeconds",
549533
"equals",
550534
"era",
551535
"eraYear",
552536
"from",
553537
"getISOFields",
538+
"getTimeZoneTransition",
554539
"hour",
555540
"hoursInDay",
556541
"inLeapYear",
@@ -568,25 +553,23 @@
568553
"since",
569554
"startOfDay",
570555
"subtract",
571-
"timeZone",
556+
"timeZoneId",
572557
"toInstant",
573558
"toJSON",
574559
"toLocaleString",
575560
"toPlainDate",
576561
"toPlainDateTime",
577-
"toPlainMonthDay",
578562
"toPlainTime",
579-
"toPlainYearMonth",
580563
"toString",
581564
"until",
582565
"valueOf",
583566
"weekOfYear",
584567
"with",
585568
"withCalendar",
586-
"withPlainDate",
587569
"withPlainTime",
588570
"withTimeZone",
589-
"year"
571+
"year",
572+
"yearOfWeek"
590573
]
591574
}
592575
}

0 commit comments

Comments
 (0)