summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-07-23 17:58:44 +0300
committerLinus Groh <mail@linusgroh.de>2021-07-23 22:00:23 +0100
commitc0e776175897697312a6677fec6e43e55d7068b9 (patch)
treebe5a744926dc18149c691680ba4939c21b8419cd /Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
parentbcbfd5b280151c29dcd3151b8f49f1fd61f1b41e (diff)
downloadserenity-c0e776175897697312a6677fec6e43e55d7068b9.zip
LibJS: Implement Temporal.Calendar.prototype.dayOfYear
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
index 00cdd78ebd..446737299a 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
@@ -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);