mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
LibJS: Use more specific return types for some Temporal AOs
Instead of returning Object* we should be specific and return Instant*, TimeZone* etc.
This commit is contained in:
parent
be475cd6a8
commit
6c8f0fbb35
4 changed files with 6 additions and 6 deletions
|
@ -38,7 +38,7 @@ private:
|
|||
bool is_valid_time_zone_name(String const& time_zone);
|
||||
String canonicalize_time_zone_name(String const& time_zone);
|
||||
String default_time_zone();
|
||||
Object* create_temporal_time_zone(GlobalObject&, String const& identifier, FunctionObject* new_target = nullptr);
|
||||
TimeZone* create_temporal_time_zone(GlobalObject&, String const& identifier, FunctionObject* new_target = nullptr);
|
||||
double parse_time_zone_offset_string(GlobalObject&, String const&);
|
||||
String format_time_zone_offset_string(double offset_nanoseconds);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue