/* * Copyright (c) 2022, Tim Flynn * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include #include namespace TimeZone { StringView current_time_zone(); Optional time_zone_from_string(StringView time_zone); StringView time_zone_to_string(TimeZone time_zone); Optional canonicalize_time_zone(StringView time_zone); Optional get_time_zone_offset(TimeZone time_zone, AK::Time time); Optional get_time_zone_offset(StringView time_zone, AK::Time time); }