1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:27:45 +00:00

LibJS: Remove trivial operation IsValidISOMonth

This is an editorial change in the Temporal spec.
See: a08330a
This commit is contained in:
Moustafa Raafat 2022-10-16 13:36:59 +01:00 committed by Linus Groh
parent 48cc557dfa
commit 69d5368b2a
2 changed files with 8 additions and 23 deletions

View file

@ -43,7 +43,6 @@ struct ISOYearMonth {
ThrowCompletionOr<PlainYearMonth*> to_temporal_year_month(VM&, Value item, Object const* options = nullptr);
ThrowCompletionOr<ISOYearMonth> regulate_iso_year_month(VM&, double year, double month, StringView overflow);
bool is_valid_iso_month(u8 month);
bool iso_year_month_within_limits(i32 year, u8 month);
ISOYearMonth balance_iso_year_month(double year, double month);
ThrowCompletionOr<PlainYearMonth*> create_temporal_year_month(VM&, i32 iso_year, u8 iso_month, Object& calendar, u8 reference_iso_day, FunctionObject const* new_target = nullptr);