mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibJS: Stub out Temporal.ZonedDateTime.prototype.getTimeZoneTransition
We will have to add facilities to determine next/previous time zone transitions. Ideally, ICU can provide this.
This commit is contained in:
parent
6d78f1327e
commit
b95528d7b5
Notes:
github-actions[bot]
2024-11-26 10:03:09 +00:00
Author: https://github.com/trflynn89
Commit: b95528d7b5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2577
Reviewed-by: https://github.com/shannonbooth ✅
8 changed files with 133 additions and 0 deletions
|
@ -22,6 +22,8 @@ struct TimeZone {
|
|||
};
|
||||
|
||||
ISODateTime get_iso_parts_from_epoch(Crypto::SignedBigInteger const& epoch_nanoseconds);
|
||||
Optional<Crypto::SignedBigInteger> get_named_time_zone_next_transition(StringView time_zone, Crypto::SignedBigInteger const& epoch_nanoseconds);
|
||||
Optional<Crypto::SignedBigInteger> get_named_time_zone_previous_transition(StringView time_zone, Crypto::SignedBigInteger const& epoch_nanoseconds);
|
||||
String format_offset_time_zone_identifier(i64 offset_minutes, Optional<TimeStyle> = {});
|
||||
String format_utc_offset_nanoseconds(i64 offset_nanoseconds);
|
||||
String format_date_time_utc_offset_rounded(i64 offset_nanoseconds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue