summaryrefslogtreecommitdiffstats
path: root/util/local_database/testlocales/main.cpp
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2013-01-27 13:52:56 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-22 22:21:15 +0200
commit48e2c3ac3318d4e3b504aadad5f56dc33be8f50d (patch)
treed4c414ea19956d6cfc037c15198e53eb64d9fd9c /util/local_database/testlocales/main.cpp
parentab55f9f39b8c7716500d74dd32ae813df76623c4 (diff)
QTimeZone - Define new class and api
Implement the new QTimeZone class based on the Olsen Time Zone ID's. This is the base implementation and does not include the Platform backends which are implemented separately. This change does include a default UTC backed to be used if no Platform backend is available, i.e. if QT_NO_SYSTEMLOCALE is set and ICU is not configured. This backend also provides a default set of time zones in the standard "UTC+00:00" offset format that are guaranteed to always exist regardless of the Platform backend. This change includes conversion functions between the Olsen ID's and Windows ID's using a conversion table based on Unicode CLDR data. This is implemented for all platforms for scenarios such as a Linux program needing to communicate with a Windows Exchange Server using the Windows ID. The CLDR conversion table is included under the UNICODE license, see http://unicode.org/copyright.html for details. [ChangeLog][QtCore][QTimeZone] Added new QTimeZone class to support time tone calculations using the host platform time zone database and the Olsen time zone ID's. Change-Id: Ibb417d08cf2663a0979d2be855d2c6ad6ad01509 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util/local_database/testlocales/main.cpp')
0 files changed, 0 insertions, 0 deletions