summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-10-30 10:28:12 +0200
committerLinus Groh <mail@linusgroh.de>2021-10-30 16:32:20 +0200
commit92fdae178bf1ff4ba10898091355eb0d08333fd8 (patch)
tree8f491cc3af48529a512b0745f037bf6bf4d6297e /Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
parente9cbeeac457b9684c31f0b35e7fcd424bf1e8c30 (diff)
downloadserenity-92fdae178bf1ff4ba10898091355eb0d08333fd8.zip
LibJS: Implement Temporal.TimeZone.prototype.getPreviousTransition()
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
index 0f65f729af..c54da0036c 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
@@ -42,6 +42,7 @@ ISODateTime get_iso_parts_from_epoch(BigInt const& epoch_nanoseconds);
MarkedValueList get_iana_time_zone_epoch_value(GlobalObject&, StringView time_zone_identifier, i32 year, u8 month, u8 day, u8 hour, u8 minute, u8 second, u16 millisecond, u16 microsecond, u16 nanosecond);
i64 get_iana_time_zone_offset_nanoseconds(BigInt const& epoch_nanoseconds, String const& time_zone_identifier);
BigInt* get_iana_time_zone_next_transition(GlobalObject&, BigInt const& epoch_nanoseconds, StringView time_zone_identifier);
+BigInt* get_iana_time_zone_previous_transition(GlobalObject&, BigInt const& epoch_nanoseconds, StringView time_zone_identifier);
ThrowCompletionOr<double> parse_time_zone_offset_string(GlobalObject&, String const&);
String format_time_zone_offset_string(double offset_nanoseconds);
ThrowCompletionOr<Object*> to_temporal_time_zone(GlobalObject&, Value temporal_time_zone_like);