mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
LibJS: Implement Temporal.Calendar.prototype.dayOfWeek
This commit is contained in:
parent
59dc0e8421
commit
339b0a17e8
6 changed files with 57 additions and 0 deletions
|
@ -45,6 +45,7 @@ PlainDate* date_from_fields(GlobalObject&, Object& calendar, Object& fields, Obj
|
|||
bool calendar_equals(GlobalObject&, Object& one, Object& two);
|
||||
bool is_iso_leap_year(i32 year);
|
||||
i32 iso_days_in_month(i32 year, i32 month);
|
||||
u8 to_iso_day_of_week(i32 year, u8 month, u8 day);
|
||||
String build_iso_month_code(i32 month);
|
||||
double resolve_iso_month(GlobalObject&, Object& fields);
|
||||
Optional<TemporalDate> iso_date_from_fields(GlobalObject&, Object& fields, Object& options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue