1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:07:46 +00:00

LibJS: Start implementing Temporal.Duration

This patch adds the Duration object itself, its constructor and
prototype (currently empty), and three required abstract operations.
This commit is contained in:
Linus Groh 2021-07-15 23:20:43 +01:00
parent 71234b3716
commit 7921d8ba91
13 changed files with 377 additions and 1 deletions

View file

@ -78,6 +78,7 @@
#define JS_ENUMERATE_TEMPORAL_OBJECTS \
__JS_ENUMERATE(Calendar, calendar, CalendarPrototype, CalendarConstructor) \
__JS_ENUMERATE(Duration, duration, DurationPrototype, DurationConstructor) \
__JS_ENUMERATE(Instant, instant, InstantPrototype, InstantConstructor) \
__JS_ENUMERATE(TimeZone, time_zone, TimeZonePrototype, TimeZoneConstructor)