[Development] QTimeScheme for Qt - 5.0 or 5.1?
Stephen Kelly
stephen.kelly at kdab.com
Wed Feb 15 23:49:54 CET 2012
On Wednesday, February 15, 2012 21:55:54 Konrad Rosenbaum wrote:
> The
> calculation results are almost identical. Almost.
Is that enough?
John Layt mentioned the existence of such a mapping too.
>
> A parser for Olson DB files is not overly complex to write - I did that
> within a weekend.
>
> git://silmor.de/konrad/tzone.git
>
> I haven't completely checked Stephen's interface, but I had the distinct
> feeling that it underestimates the complexity of time zones:
> *the definition of standard time and/or DST can change for any time zone at
> any time
> *there can be 1 or up to 3 different time specs in a year (under
> exceptional circumstances even more)
The output QDateTime depends on the input QDateTime. With a database of which
time spec it was at any particular point, the correct answer would be
returned.
> *it is not always clear which time spec is standard and which one is DST
I'm not certain what you mean.
Thanks,
--
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120215/1677a845/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120215/1677a845/attachment.sig>
More information about the Development
mailing list