7#include "timezonedata_p.h"
9#include "data/country_timezone_map.cpp"
10#include "data/subdivision_timezone_map.cpp"
11#include "data/timezone_name_table.cpp"
15static_assert(isSortedLookupTable(country_timezone_map));
16static_assert(isSortedLookupTable(subdivision_timezone_map));
18const char *TimezoneData::ianaIdLookup(uint16_t offset)
20 assert(offset <
sizeof(timezone_name_table));
21 return timezone_name_table + offset;
24const MapEntry<uint16_t> *TimezoneData::countryTimezoneMapBegin()
26 return std::begin(country_timezone_map);
29const MapEntry<uint16_t> *TimezoneData::countryTimezoneMapEnd()
31 return std::end(country_timezone_map);
34const MapEntry<uint32_t> *TimezoneData::subdivisionTimezoneMapBegin()
36 return std::begin(subdivision_timezone_map);
39const MapEntry<uint32_t> *TimezoneData::subdivisionTimezoneMapEnd()
41 return std::end(subdivision_timezone_map);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:25 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.