mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibJS: Implement Temporal.PlainDate.prototype.toString()
This commit is contained in:
parent
310192f918
commit
402f04c2fc
10 changed files with 164 additions and 0 deletions
|
@ -64,6 +64,7 @@ Object* get_options_object(GlobalObject&, Value options);
|
|||
Value get_option(GlobalObject&, Object& options, PropertyName const& property, Vector<OptionType> const& types, Vector<StringView> const& values, Value fallback);
|
||||
Optional<String> to_temporal_overflow(GlobalObject&, Object& normalized_options);
|
||||
Optional<String> to_temporal_rounding_mode(GlobalObject&, Object& normalized_options, String const& fallback);
|
||||
Optional<String> to_show_calendar_option(GlobalObject&, Object& normalized_options);
|
||||
u64 to_temporal_rounding_increment(GlobalObject&, Object& normalized_options, Optional<double> dividend, bool inclusive);
|
||||
Optional<String> to_smallest_temporal_unit(GlobalObject&, Object& normalized_options, Vector<StringView> const& disallowed_units, Optional<String> fallback);
|
||||
double constrain_to_range(double x, double minimum, double maximum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue