mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 00:08:55 +00:00
LibJS: Add Temporal.Instant.compare()
This commit is contained in:
parent
b816037739
commit
33cf6274e8
Notes:
sideshowbarker
2024-07-18 09:10:15 +09:00
Author: https://github.com/IdanHo
Commit: 33cf6274e8
Pull-request: https://github.com/SerenityOS/serenity/pull/8663
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/linusg
6 changed files with 49 additions and 0 deletions
|
@ -40,5 +40,6 @@ bool is_valid_epoch_nanoseconds(BigInt const& epoch_nanoseconds);
|
|||
Instant* create_temporal_instant(GlobalObject&, BigInt& nanoseconds, FunctionObject* new_target = nullptr);
|
||||
Instant* to_temporal_instant(GlobalObject&, Value item);
|
||||
BigInt* parse_temporal_instant(GlobalObject&, String const& iso_string);
|
||||
i32 compare_epoch_nanoseconds(BigInt const&, BigInt const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue