KDateTime: next iteration

Thiago Macieira thiago at kde.org
Mon Nov 28 20:50:36 GMT 2005

David Jarvie wrote:
>I attach another iteration of the KDateTime header. The implementation
> file is at http://www.astrojar.org.uk/linux/download/kdatetime.cpp.
> This now incorporates all 5 types of "time zone" information which has
> been discussed: 
>  UTC 
>   Offset from UTC

What's the difference between those two? UTC is UTC + 0 (or -0, if you'd 
rather), so it's the same as an offset from UTC.

>   Time zone
>   Local time zone (a special case of "Time zone")

Ok for special case

>   Local clock time (no time zone)

This doesn't make sense to me. What's the rationale behind it? Every time 
must be associated to a timezone, unless we're talking about time 
differences. Or unless we're talking about an "unknown" timezone (which 
means this should fall into the "Local time zone", which is in turn a 
special case of "time zone").

So, by my account, there are only two types:
1) offset-only
2) detailed (with latitude, longitude, name and DST historic)

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

3. Ac seo woruld wearð geborod, swá se Scieppend cwæð "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051128/81209ed8/attachment.sig>

More information about the kde-core-devel mailing list