mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 11:21:34 +00:00
LibJS: Make DifferenceISODateTime infallible
This is an editorial change in the Temporal proposal. See:
df74f7f
This commit is contained in:
parent
25c361bb96
commit
16aebef4f4
Notes:
github-actions[bot]
2024-12-05 21:07:27 +00:00
Author: https://github.com/trflynn89
Commit: 16aebef4f4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2790
Reviewed-by: https://github.com/gmta ✅
2 changed files with 12 additions and 12 deletions
|
@ -41,7 +41,7 @@ ThrowCompletionOr<GC::Ref<PlainDateTime>> create_temporal_date_time(VM&, ISODate
|
|||
String iso_date_time_to_string(ISODateTime const&, StringView calendar, SecondsStringPrecision::Precision, ShowCalendar);
|
||||
i8 compare_iso_date_time(ISODateTime const&, ISODateTime const&);
|
||||
ISODateTime round_iso_date_time(ISODateTime const&, u64 increment, Unit, RoundingMode);
|
||||
ThrowCompletionOr<InternalDuration> difference_iso_date_time(VM&, ISODateTime const&, ISODateTime const&, StringView calendar, Unit largest_unit);
|
||||
InternalDuration difference_iso_date_time(VM&, ISODateTime const&, ISODateTime const&, StringView calendar, Unit largest_unit);
|
||||
ThrowCompletionOr<InternalDuration> difference_plain_date_time_with_rounding(VM&, ISODateTime const&, ISODateTime const&, StringView calendar, Unit largest_unit, u64 rounding_increment, Unit smallest_unit, RoundingMode);
|
||||
ThrowCompletionOr<Crypto::BigFraction> difference_plain_date_time_with_total(VM&, ISODateTime const&, ISODateTime const&, StringView calendar, Unit);
|
||||
ThrowCompletionOr<GC::Ref<Duration>> difference_temporal_plain_date_time(VM&, DurationOperation, PlainDateTime const&, Value other, Value options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue