mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 07:22:22 +00:00
LibJS: Convert parse_temporal_instant_string() to ThrowCompletionOr
This commit is contained in:
parent
3112de6f35
commit
4f487266b4
Notes:
sideshowbarker
2024-07-18 03:48:48 +09:00
Author: https://github.com/linusg
Commit: 4f487266b4
Pull-request: https://github.com/SerenityOS/serenity/pull/10065
Reviewed-by: https://github.com/IdanHo ✅
3 changed files with 7 additions and 9 deletions
|
@ -104,7 +104,7 @@ String format_seconds_string_part(u8 second, u16 millisecond, u16 microsecond, u
|
|||
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);
|
||||
Optional<TemporalInstant> parse_temporal_instant_string(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);
|
||||
Optional<TemporalDate> parse_temporal_date_string(GlobalObject&, String const& iso_string);
|
||||
Optional<ISODateTime> parse_temporal_date_time_string(GlobalObject&, String const& iso_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue