mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
LibJS: Start implementing Temporal.PlainDate
This commit adds the PlainDate object itself, its constructor and prototype (currently empty), and several required abstract operations.
This commit is contained in:
parent
ff6ca0f02d
commit
cc00ccec41
19 changed files with 465 additions and 5 deletions
|
@ -30,6 +30,10 @@ private:
|
|||
|
||||
Calendar* create_temporal_calendar(GlobalObject&, String const& identifier, FunctionObject* new_target = nullptr);
|
||||
bool is_builtin_calendar(String const& identifier);
|
||||
Calendar* get_builtin_calendar(GlobalObject&, String const& identifier);
|
||||
Calendar* get_iso8601_calendar(GlobalObject&);
|
||||
Object* to_temporal_calendar(GlobalObject&, Value);
|
||||
Object* to_temporal_calendar_with_iso_default(GlobalObject&, Value);
|
||||
bool is_iso_leap_year(i32 year);
|
||||
i32 iso_days_in_month(i32 year, i32 month);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue