mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-16 06:22:17 +00:00
LibJS: Convert reject_temporal_calendar_type() to ThrowCompletionOr
This commit is contained in:
parent
8dd45a1ba2
commit
8792fdfdf6
Notes:
sideshowbarker
2024-07-18 03:48:55 +09:00
Author: https://github.com/linusg
Commit: 8792fdfdf6
Pull-request: https://github.com/SerenityOS/serenity/pull/10065
Reviewed-by: https://github.com/IdanHo ✅
3 changed files with 6 additions and 6 deletions
|
@ -99,7 +99,7 @@ ThrowCompletionOr<Optional<String>> to_smallest_temporal_unit(GlobalObject&, Obj
|
|||
ThrowCompletionOr<void> validate_temporal_unit_range(GlobalObject&, StringView largest_unit, StringView smallest_unit);
|
||||
String larger_of_two_temporal_units(StringView, StringView);
|
||||
Optional<u16> maximum_temporal_duration_rounding_increment(StringView unit);
|
||||
void reject_temporal_calendar_type(GlobalObject&, Object&);
|
||||
ThrowCompletionOr<void> reject_temporal_calendar_type(GlobalObject&, Object&);
|
||||
String format_seconds_string_part(u8 second, u16 millisecond, u16 microsecond, u16 nanosecond, Variant<StringView, u8> const& precision);
|
||||
double constrain_to_range(double x, double minimum, double maximum);
|
||||
BigInt* round_number_to_increment(GlobalObject&, BigInt const&, u64 increment, StringView rounding_mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue