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

LibJS: Implement Temporal.PlainDate.prototype.equals & Required AO

This commit is contained in:
Idan Horowitz 2021-07-21 22:21:45 +03:00 committed by Linus Groh
parent cf78efaef5
commit d804ce830d
5 changed files with 69 additions and 0 deletions

View file

@ -38,6 +38,7 @@ Object* to_temporal_calendar(GlobalObject&, Value);
Object* to_temporal_calendar_with_iso_default(GlobalObject&, Value);
Object* get_temporal_calendar_with_iso_default(GlobalObject&, Object&);
PlainDate* date_from_fields(GlobalObject&, Object& calendar, Object& fields, Object& options);
bool calendar_equals(GlobalObject&, Object& one, Object& two);
bool is_iso_leap_year(i32 year);
i32 iso_days_in_month(i32 year, i32 month);
String build_iso_month_code(i32 month);