diff options
author | Linus Groh <mail@linusgroh.de> | 2021-08-16 18:04:58 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-08-16 20:40:21 +0100 |
commit | 31f65b8c500aa92a082653deb74fbfa11637a696 (patch) | |
tree | 033d11fc4b9863c1f86ed6a83ea03f687ba12af1 /Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h | |
parent | 68d07320cf0df9603fba26e1c19e533d29772bd2 (diff) | |
download | serenity-31f65b8c500aa92a082653deb74fbfa11637a696.zip |
LibJS: Implement Temporal.Calendar.prototype.monthDayFromFields()
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h index e8209eaef2..0b4d6acec2 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h @@ -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); } |