diff options
author | Luke Wilde <lukew@serenityos.org> | 2021-09-09 06:27:55 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-09-09 09:06:23 +0100 |
commit | ff0b01a5051378e5a3616ebaa407dff999562f8e (patch) | |
tree | da5b12378caef2d917fb32d8d95663a01fd94bd1 /Userland/Libraries/LibJS/Runtime/Temporal/PlainYearMonth.h | |
parent | d3fcf5a570f43b897de97916f03b7d706b211416 (diff) | |
download | serenity-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.h | 1 |
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); |