mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 14:50:18 +00:00
LibJS: Implement Temporal.Calendar.prototype.monthDayFromFields()
This commit is contained in:
parent
68d07320cf
commit
31f65b8c50
Notes:
sideshowbarker
2024-07-18 05:37:55 +09:00
Author: https://github.com/linusg
Commit: 31f65b8c50
Pull-request: https://github.com/SerenityOS/serenity/pull/9457
Reviewed-by: https://github.com/IdanHo ✅
7 changed files with 184 additions and 0 deletions
|
@ -33,6 +33,12 @@ private:
|
|||
Object& m_calendar; // [[Calendar]]
|
||||
};
|
||||
|
||||
struct ISOMonthDay {
|
||||
u8 month;
|
||||
u8 day;
|
||||
i32 reference_iso_year;
|
||||
};
|
||||
|
||||
PlainMonthDay* create_temporal_month_day(GlobalObject&, u8 iso_month, u8 iso_day, Object& calendar, i32 reference_iso_year, FunctionObject* new_target = nullptr);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue