mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibJS: Implement Temporal.TimeZone.prototype.getNextTransition()
This commit is contained in:
parent
5fde02184d
commit
e9cbeeac45
Notes:
sideshowbarker
2024-07-18 01:44:52 +09:00
Author: https://github.com/linusg
Commit: e9cbeeac45
Pull-request: https://github.com/SerenityOS/serenity/pull/10700
Reviewed-by: https://github.com/IdanHo ✅
6 changed files with 63 additions and 0 deletions
|
@ -41,6 +41,7 @@ ThrowCompletionOr<TimeZone*> create_temporal_time_zone(GlobalObject&, String con
|
|||
ISODateTime get_iso_parts_from_epoch(BigInt const& epoch_nanoseconds);
|
||||
MarkedValueList get_iana_time_zone_epoch_value(GlobalObject&, 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(GlobalObject&, BigInt const& epoch_nanoseconds, StringView time_zone_identifier);
|
||||
ThrowCompletionOr<double> parse_time_zone_offset_string(GlobalObject&, String const&);
|
||||
String format_time_zone_offset_string(double offset_nanoseconds);
|
||||
ThrowCompletionOr<Object*> to_temporal_time_zone(GlobalObject&, Value temporal_time_zone_like);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue