KI18n

ktimezone.h
1 /*
2  SPDX-FileCopyrightText: 2021 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef KTIMEZONE_H
8 #define KTIMEZONE_H
9 
10 #include "ki18nlocaledata_export.h"
11 
12 class KCountry;
13 
14 /** Timezone localization methods.
15  * @since 5.88
16  */
17 namespace KTimeZone // TODO name clash with kdelibs4support!?
18 {
19 /** Returns the timezone at the given geo coordinate. */
20 KI18NLOCALEDATA_EXPORT const char *fromLocation(float latitude, float longitude);
21 
22 /** Returns the country a timezone is in. */
23 KI18NLOCALEDATA_EXPORT KCountry country(const char *ianaId);
24 
25 }
26 
27 #endif // KTIMEZONE_H
KI18NLOCALEDATA_EXPORT KCountry country(const char *)
Returns the country a timezone is in.
Timezone localization methods.
Definition: kcountry.h:19
float latitude() const
float longitude() const
const KI18NLOCALEDATA_EXPORT char * fromLocation(float latitude, float longitude)
Returns the timezone at the given geo coordinate.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 15 2022 04:07:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.