mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibJS: Convert parse_temporal_calendar_string() to ThrowCompletionOr
This commit is contained in:
parent
4f487266b4
commit
2e28f0b371
Notes:
sideshowbarker
2024-07-18 03:48:44 +09:00
Author: https://github.com/linusg
Commit: 2e28f0b371
Pull-request: https://github.com/SerenityOS/serenity/pull/10065
Reviewed-by: https://github.com/IdanHo ✅
3 changed files with 6 additions and 10 deletions
|
@ -105,7 +105,7 @@ double constrain_to_range(double x, double minimum, double maximum);
|
|||
BigInt* round_number_to_increment(GlobalObject&, BigInt const&, u64 increment, StringView rounding_mode);
|
||||
ThrowCompletionOr<ISODateTime> parse_iso_date_time(GlobalObject&, String const& iso_string);
|
||||
ThrowCompletionOr<TemporalInstant> parse_temporal_instant_string(GlobalObject&, String const& iso_string);
|
||||
Optional<String> parse_temporal_calendar_string(GlobalObject&, String const& iso_string);
|
||||
ThrowCompletionOr<String> parse_temporal_calendar_string(GlobalObject&, String const& iso_string);
|
||||
Optional<TemporalDate> parse_temporal_date_string(GlobalObject&, String const& iso_string);
|
||||
Optional<ISODateTime> parse_temporal_date_time_string(GlobalObject&, String const& iso_string);
|
||||
Optional<TemporalDuration> parse_temporal_duration_string(GlobalObject&, String const& iso_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue