File indexing completed on 2024-12-29 04:50:10
0001 /* 0002 SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <cstdint> 0010 #include <limits> 0011 0012 class QString; 0013 class QStringView; 0014 class QTimeZone; 0015 0016 namespace KItinerary { 0017 namespace KnowledgeDb { 0018 /** Returns the timezone for the given location consisting of coordinates and/or country. 0019 * Either argument can be omitted, if both are available better results can be provided. 0020 */ 0021 QTimeZone timezoneForLocation(float lat, float lon, QStringView alpha2CountryCode, QStringView regionCode); 0022 } 0023 } 0024