File indexing completed on 2024-04-28 11:40:13

0001 /*
0002     SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef TIMEZONEDATA_P_H
0008 #define TIMEZONEDATA_P_H
0009 
0010 #include "mapentry_p.h"
0011 
0012 #include <cstdint>
0013 
0014 /** Utility functions to deal with the compiled-in timezone data. */
0015 namespace TimezoneData
0016 {
0017 const char *ianaIdLookup(uint16_t offset);
0018 
0019 const MapEntry<uint16_t> *countryTimezoneMapBegin();
0020 const MapEntry<uint16_t> *countryTimezoneMapEnd();
0021 
0022 const MapEntry<uint32_t> *subdivisionTimezoneMapBegin();
0023 const MapEntry<uint32_t> *subdivisionTimezoneMapEnd();
0024 
0025 }
0026 
0027 #endif // TIMEZONEDATA_P_H