diff options
author | Linus Groh <mail@linusgroh.de> | 2021-08-04 23:18:19 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-05 19:19:40 +0200 |
commit | 6c345c8107bef3bcb81dcb303b0d0b7e126f04b1 (patch) | |
tree | 07bd7af522f0dd345fc700ef305463559ccf8e11 /Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h | |
parent | f937e9b96638f806d54a4062bbc6253cb0775156 (diff) | |
download | serenity-6c345c8107bef3bcb81dcb303b0d0b7e126f04b1.zip |
LibJS: Implement Temporal.ZonedDateTime.prototype.offset
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h index 664f6c594b..b173193bac 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h +++ b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h @@ -43,7 +43,7 @@ double parse_time_zone_offset_string(GlobalObject&, String const&); String format_time_zone_offset_string(double offset_nanoseconds); Object* to_temporal_time_zone(GlobalObject&, Value temporal_time_zone_like); double get_offset_nanoseconds_for(GlobalObject&, Value time_zone, Instant&); -Optional<String> builtin_time_zone_get_offset_string_for(GlobalObject&, TimeZone&, Instant&); +Optional<String> builtin_time_zone_get_offset_string_for(GlobalObject&, Object& time_zone, Instant&); PlainDateTime* builtin_time_zone_get_plain_date_time_for(GlobalObject&, Value time_zone, Instant&, Object& calendar); bool is_valid_time_zone_numeric_utc_offset_syntax(String const&); |