diff options
author | Linus Groh <mail@linusgroh.de> | 2021-07-07 17:42:21 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-07-07 19:00:42 +0100 |
commit | 3a39ff8f40d39305ce761a52adb155c1b3128501 (patch) | |
tree | b52881c9ec00238b5aa88c9ce1f08df594ed944a /Userland/Libraries/LibJS/Runtime/Temporal/Now.h | |
parent | 47fb4286c7247af3faa354ceba97ac46d8bd854f (diff) | |
download | serenity-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.h | 3 |
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&); } |