summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-08-20 08:52:42 +0100
committerLinus Groh <mail@linusgroh.de>2022-08-23 13:58:30 +0100
commit694f66b5ca7e95e9ce24df327e80b0cffc5ff6c7 (patch)
tree5c0a4b7b6804affcaaccfefd2f7320a00509a422 /Userland/Libraries/LibJS/Runtime/Temporal/Now.h
parentf9705eb2f489416a32d145f5363ab0783949add3 (diff)
downloadserenity-694f66b5ca7e95e9ce24df327e80b0cffc5ff6c7.zip
LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19]
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Now.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Now.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Now.h b/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
index a0486d5977..fe4e358218 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
+ * Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@@ -31,10 +31,10 @@ private:
JS_DECLARE_NATIVE_FUNCTION(plain_time_iso);
};
-TimeZone* system_time_zone(GlobalObject&);
-BigInt* system_utc_epoch_nanoseconds(GlobalObject&);
-Instant* system_instant(GlobalObject&);
-ThrowCompletionOr<PlainDateTime*> system_date_time(GlobalObject&, Value temporal_time_zone_like, Value calendar_like);
-ThrowCompletionOr<ZonedDateTime*> system_zoned_date_time(GlobalObject&, Value temporal_time_zone_like, Value calendar_like);
+TimeZone* system_time_zone(VM&);
+BigInt* system_utc_epoch_nanoseconds(VM&);
+Instant* system_instant(VM&);
+ThrowCompletionOr<PlainDateTime*> system_date_time(VM&, Value temporal_time_zone_like, Value calendar_like);
+ThrowCompletionOr<ZonedDateTime*> system_zoned_date_time(VM&, Value temporal_time_zone_like, Value calendar_like);
}