summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-08-07 00:31:08 +0100
committerLinus Groh <mail@linusgroh.de>2021-08-07 13:10:35 +0100
commitb38f1fb0718cd3d9f58854064b0c538b27aa4a5a (patch)
treefe6ac4cbd6152c7993684fb494802609740a98a2 /Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
parent8ffad70504a2d882b28137a7cf6c27571173314b (diff)
downloadserenity-b38f1fb0718cd3d9f58854064b0c538b27aa4a5a.zip
LibJS: Implement Temporal.Instant.prototype.add()
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Instant.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Instant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h b/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
index 65a6f252a5..2ea0efafc2 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
@@ -39,6 +39,7 @@ Instant* create_temporal_instant(GlobalObject&, BigInt& nanoseconds, FunctionObj
Instant* to_temporal_instant(GlobalObject&, Value item);
BigInt* parse_temporal_instant(GlobalObject&, String const& iso_string);
i32 compare_epoch_nanoseconds(BigInt const&, BigInt const&);
+BigInt* add_instant(GlobalObject&, BigInt const& epoch_nanoseconds, double hours, double minutes, double seconds, double milliseconds, double microseconds, double nanoseconds);
BigInt* round_temporal_instant(GlobalObject&, BigInt const& nanoseconds, u64 increment, String const& unit, String const& rounding_mode);
}