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

LibJS: Rename IsValidTimeZoneName to IsAvailableTimeZoneName

This is an editorial change in the Temporal spec.

See: 873313b
This commit is contained in:
Linus Groh 2022-10-17 09:11:32 +02:00
parent 72997c6b77
commit 57162ad510
6 changed files with 13 additions and 13 deletions

View file

@ -36,7 +36,7 @@ private:
Optional<OffsetType> m_offset_nanoseconds; // [[OffsetNanoseconds]]
};
bool is_valid_time_zone_name(StringView time_zone);
bool is_available_time_zone_name(StringView time_zone);
String canonicalize_time_zone_name(String const& time_zone);
ThrowCompletionOr<TimeZone*> create_temporal_time_zone(VM&, String const& identifier, FunctionObject const* new_target = nullptr);
ISODateTime get_iso_parts_from_epoch(VM&, Crypto::SignedBigInteger const& epoch_nanoseconds);