1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:47:46 +00:00

LibJS: Implement Temporal.Calendar.prototype.monthDayFromFields()

This commit is contained in:
Linus Groh 2021-08-16 18:04:58 +01:00
parent 68d07320cf
commit 31f65b8c50
7 changed files with 184 additions and 0 deletions

View file

@ -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);
}