mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
LibJS: Implement Temporal.Calendar.prototype.dayOfYear
This commit is contained in:
parent
bcbfd5b280
commit
c0e7761758
6 changed files with 52 additions and 0 deletions
|
@ -47,6 +47,7 @@ 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);
|
||||
u16 to_iso_day_of_year(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