summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Forward.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-22 19:47:07 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-22 21:19:40 +0100
commit4be3196882f592635c4f89c8d2cc9e520418f8e6 (patch)
treebfb910fad3da4beb9d12ab6ec31742eea1069cee /Userland/Libraries/LibJS/Forward.h
parent42b6bffbf2b6aa34f4f82cd4c3c34ed5528790ad (diff)
downloadserenity-4be3196882f592635c4f89c8d2cc9e520418f8e6.zip
LibJS: Start implementing Temporal.PlainDateTime
This commit adds the PlainDateTime object itself, its constructor and prototype (currently empty), and the CreateTemporalDateTime abstract operation.
Diffstat (limited to 'Userland/Libraries/LibJS/Forward.h')
-rw-r--r--Userland/Libraries/LibJS/Forward.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h
index 62c59cab96..27835581d9 100644
--- a/Userland/Libraries/LibJS/Forward.h
+++ b/Userland/Libraries/LibJS/Forward.h
@@ -76,11 +76,12 @@
__JS_ENUMERATE(Float32Array, float32_array, Float32ArrayPrototype, Float32ArrayConstructor, float) \
__JS_ENUMERATE(Float64Array, float64_array, Float64ArrayPrototype, Float64ArrayConstructor, double)
-#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(PlainDate, plain_date, PlainDatePrototype, PlainDateConstructor) \
+#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(PlainDate, plain_date, PlainDatePrototype, PlainDateConstructor) \
+ __JS_ENUMERATE(PlainDateTime, plain_date_time, PlainDateTimePrototype, PlainDateTimeConstructor) \
__JS_ENUMERATE(TimeZone, time_zone, TimeZonePrototype, TimeZoneConstructor)
#define JS_ENUMERATE_ITERATOR_PROTOTYPES \