summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-07 17:42:21 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-07 19:00:42 +0100
commit3a39ff8f40d39305ce761a52adb155c1b3128501 (patch)
treeb52881c9ec00238b5aa88c9ce1f08df594ed944a /Userland/Libraries/LibJS/Runtime/Temporal/Now.h
parent47fb4286c7247af3faa354ceba97ac46d8bd854f (diff)
downloadserenity-3a39ff8f40d39305ce761a52adb155c1b3128501.zip
LibJS: Implement Temporal.now.instant()
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Now.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Now.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Now.h b/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
index c04a5013bb..05ed506595 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Now.h
@@ -20,8 +20,11 @@ public:
private:
JS_DECLARE_NATIVE_FUNCTION(time_zone);
+ JS_DECLARE_NATIVE_FUNCTION(instant);
};
Object* system_time_zone(GlobalObject&);
+BigInt* system_utc_epoch_nanoseconds(GlobalObject&);
+Object* system_instant(GlobalObject&);
}