| 1 | /* |
|---|---|
| 2 | SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org> |
| 3 | |
| 4 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 | */ |
| 6 | |
| 7 | #ifndef TIMEZONEDATA_P_H |
| 8 | #define TIMEZONEDATA_P_H |
| 9 | |
| 10 | #include "mapentry_p.h" |
| 11 | |
| 12 | #include <cstdint> |
| 13 | |
| 14 | /*! |
| 15 | * Utility functions to deal with the compiled-in timezone data. |
| 16 | * |
| 17 | * \internal |
| 18 | */ |
| 19 | namespace TimezoneData |
| 20 | { |
| 21 | const char *ianaIdLookup(uint16_t offset); |
| 22 | |
| 23 | const MapEntry<uint16_t> *countryTimezoneMapBegin(); |
| 24 | const MapEntry<uint16_t> *countryTimezoneMapEnd(); |
| 25 | |
| 26 | const MapEntry<uint32_t> *subdivisionTimezoneMapBegin(); |
| 27 | const MapEntry<uint32_t> *subdivisionTimezoneMapEnd(); |
| 28 | |
| 29 | } |
| 30 | |
| 31 | #endif // TIMEZONEDATA_P_H |
| 32 |
