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

LibJS: Implement Temporal.PlainYearMonth.prototype.toString()

This commit is contained in:
Linus Groh 2021-08-19 00:43:39 +01:00
parent 89eddb5bff
commit 421ad73b4f
5 changed files with 116 additions and 0 deletions

View file

@ -45,5 +45,6 @@ bool iso_year_month_within_limits(i32 year, u8 month);
ISOYearMonth balance_iso_year_month(double year, double month);
ISOYearMonth constrain_iso_year_month(double year, double month);
PlainYearMonth* create_temporal_year_month(GlobalObject&, i32 iso_year, u8 iso_month, Object& calendar, u8 reference_iso_day, FunctionObject* new_target = nullptr);
Optional<String> temporal_year_month_to_string(GlobalObject&, PlainYearMonth&, StringView show_calendar);
}