summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2021-09-09 06:27:55 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-09 09:06:23 +0100
commitff0b01a5051378e5a3616ebaa407dff999562f8e (patch)
treeda5b12378caef2d917fb32d8d95663a01fd94bd1 /Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h
parentd3fcf5a570f43b897de97916f03b7d706b211416 (diff)
downloadserenity-ff0b01a5051378e5a3616ebaa407dff999562f8e.zip
LibJS: Implement ToTemporalYearMonth AO
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h1
1 files changed, 1 insertions, 0 deletions
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<ISOYearMonth> 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);