1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

LibJS: Implement ToTemporalMonthDay AO

This commit is contained in:
Luke Wilde 2021-09-10 03:09:25 +01:00 committed by Linus Groh
parent de0791b0a1
commit d9d1e25db3
2 changed files with 110 additions and 0 deletions

View file

@ -39,6 +39,7 @@ struct ISOMonthDay {
i32 reference_iso_year;
};
PlainMonthDay* to_temporal_month_day(GlobalObject&, Value item, Object const* options = nullptr);
PlainMonthDay* create_temporal_month_day(GlobalObject&, u8 iso_month, u8 iso_day, Object& calendar, i32 reference_iso_year, FunctionObject const* new_target = nullptr);
Optional<String> temporal_month_day_to_string(GlobalObject&, PlainMonthDay&, StringView show_calendar);