mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
|
@ -33,6 +33,11 @@ enum class DateType {
|
|||
YearMonth,
|
||||
};
|
||||
|
||||
enum class Direction {
|
||||
Next,
|
||||
Previous,
|
||||
};
|
||||
|
||||
enum class Disambiguation {
|
||||
Compatible,
|
||||
Earlier,
|
||||
|
@ -175,6 +180,7 @@ ThrowCompletionOr<OffsetOption> get_temporal_offset_option(VM&, Object const& op
|
|||
ThrowCompletionOr<ShowTimeZoneName> get_temporal_show_time_zone_name_option(VM&, Object const& options);
|
||||
ThrowCompletionOr<ShowOffset> get_temporal_show_offset_option(VM&, Object const& options);
|
||||
ThrowCompletionOr<ShowCalendar> get_temporal_show_calendar_name_option(VM&, Object const& options);
|
||||
ThrowCompletionOr<Direction> get_direction_option(VM&, Object const& options);
|
||||
ThrowCompletionOr<void> validate_temporal_rounding_increment(VM&, u64 increment, u64 dividend, bool inclusive);
|
||||
ThrowCompletionOr<Precision> get_temporal_fractional_second_digits_option(VM&, Object const& options);
|
||||
SecondsStringPrecision to_seconds_string_precision_record(UnitValue, Precision);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue