mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 06:09:51 +00:00
LibJS: Replace GetIANATimeZoneEpochValue with GetNamedTimeZoneEpoch[Ns]
This is an editorial change in the Temporal spec. See:
e834014
This commit is contained in:
parent
1a84dbcb07
commit
053cc90dbe
Notes:
sideshowbarker
2024-07-18 05:37:06 +09:00
Author: https://github.com/trflynn89
Commit: 053cc90dbe
Pull-request: https://github.com/SerenityOS/serenity/pull/15589
Reviewed-by: https://github.com/davidot ✅
Reviewed-by: https://github.com/linusg ✅
3 changed files with 21 additions and 35 deletions
|
@ -41,7 +41,6 @@ String canonicalize_time_zone_name(String const& time_zone);
|
|||
String default_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);
|
||||
MarkedVector<BigInt*> get_iana_time_zone_epoch_value(VM&, StringView time_zone_identifier, i32 year, u8 month, u8 day, u8 hour, u8 minute, u8 second, u16 millisecond, u16 microsecond, u16 nanosecond);
|
||||
i64 get_iana_time_zone_offset_nanoseconds(BigInt const& epoch_nanoseconds, String const& time_zone_identifier);
|
||||
BigInt* get_iana_time_zone_next_transition(VM&, BigInt const& epoch_nanoseconds, StringView time_zone_identifier);
|
||||
BigInt* get_iana_time_zone_previous_transition(VM&, BigInt const& epoch_nanoseconds, StringView time_zone_identifier);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue