1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +00:00

LibJS: Implement Temporal.TimeZone.prototype.getOffsetStringFor()

This commit is contained in:
Linus Groh 2021-07-31 21:54:35 +01:00
parent f987c11464
commit c4123d8aad
6 changed files with 64 additions and 0 deletions

View file

@ -47,6 +47,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&, Object& time_zone, Instant&);
Optional<String> builtin_time_zone_get_offset_string_for(GlobalObject&, TimeZone&, Instant&);
PlainDateTime* builtin_time_zone_get_plain_date_time_for(GlobalObject&, Object& time_zone, Instant&, Object& calendar);
bool is_valid_time_zone_numeric_utc_offset_syntax(String const&);