mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +00:00
LibJS: Add the ToTemporalInstant Abstract Operation & its requirements
This is Abstract Operation is required for the majority of InstantConstructor's and InstantPrototype's methods. The implementation is not entirely complete, (specifically 2 of the underlying required abstract operations, ParseTemporalTimeZoneString and ParseISODateTime are missing the required lexing, and as such are TODO()-ed) but the majority of it is done.
This commit is contained in:
parent
141c46feda
commit
b816037739
Notes:
sideshowbarker
2024-07-18 09:10:19 +09:00
Author: https://github.com/IdanHo
Commit: b816037739
Pull-request: https://github.com/SerenityOS/serenity/pull/8663
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/linusg
19 changed files with 888 additions and 13 deletions
|
@ -86,4 +86,8 @@ private:
|
|||
bool m_is_invalid { false };
|
||||
};
|
||||
|
||||
Value make_time(GlobalObject& global_object, Value hour, Value min, Value sec, Value ms);
|
||||
Value make_day(GlobalObject& global_object, Value year, Value month, Value date);
|
||||
Value make_date(Value day, Value time);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue