From ff0b01a5051378e5a3616ebaa407dff999562f8e Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Thu, 9 Sep 2021 06:27:55 +0100 Subject: LibJS: Implement ToTemporalYearMonth AO --- Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h') diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h index 07550b7110..ca0c1b6b67 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h @@ -39,6 +39,7 @@ struct ISOYearMonth { u8 reference_iso_day; }; +PlainYearMonth* to_temporal_year_month(GlobalObject& global_object, Value item, Object* options = nullptr); Optional regulate_iso_year_month(GlobalObject&, double year, double month, StringView overflow); bool is_valid_iso_month(u8 month); bool iso_year_month_within_limits(i32 year, u8 month); -- cgit v1.2.3