mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
LibJS: Implement Temporal.PlainDate.prototype.toPlainYearMonth()
This commit is contained in:
parent
ed9d37bd40
commit
6709c915aa
6 changed files with 75 additions and 1 deletions
|
@ -49,6 +49,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);
|
||||
PlainYearMonth* year_month_from_fields(GlobalObject&, Object& calendar, Object& fields, Object* options = nullptr);
|
||||
bool calendar_equals(GlobalObject&, Object& one, Object& two);
|
||||
Object* consolidate_calendars(GlobalObject&, Object& one, Object& two);
|
||||
bool is_iso_leap_year(i32 year);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue