LibJS: Remove ToTemporalDateTimeRoundingIncrement

This is an editorial change in the Temporal spec.

See: aca38be
This commit is contained in:
Daniel La Rocque 2024-03-25 11:18:42 -05:00 committed by Tim Flynn
commit 1e1906865c
Notes: sideshowbarker 2024-07-17 18:46:30 +09:00
4 changed files with 59 additions and 48 deletions

View file

@ -147,7 +147,6 @@ ThrowCompletionOr<String> to_time_zone_name_option(VM&, Object const& normalized
ThrowCompletionOr<String> to_show_offset_option(VM&, Object const& normalized_options);
ThrowCompletionOr<double> to_temporal_rounding_increment(VM& vm, Object const& normalized_options);
ThrowCompletionOr<u64> validate_temporal_rounding_increment(VM& vm, double increment, double dividend, bool inclusive);
ThrowCompletionOr<u64> to_temporal_date_time_rounding_increment(VM&, Object const& normalized_options, StringView smallest_unit);
ThrowCompletionOr<SecondsStringPrecision> to_seconds_string_precision_record(VM&, Object const& normalized_options);
ThrowCompletionOr<Optional<String>> get_temporal_unit(VM&, Object const& normalized_options, PropertyKey const&, UnitGroup, TemporalUnitDefault const& default_, Vector<StringView> const& extra_values = {});