[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: RFC: addition of generic timezone support to kdelibs
From:       Shaheed <srhaque () iee ! org>
Date:       2005-07-12 0:38:13
Message-ID: 200507120237.24824.srhaque () iee ! org
[Download RAW message or body]

David wrote:

>> For item 2, I think that the building blocks are all there, but I'm not
>> exactly sure what the best API would be. For example, would you want
>> something like:
>>
>> 	QDateTime convert(const QDateTime &original, const KTimezone *newZone);
>>
>> added to KTimezone?
>
>There would presumably need to be two KTimeZone parameters to give the old 
>and 
>new time zones.

Err, by adding it to KTimezone, one of the zones is implicitly the instance.

Mind you, I had a related thought; namely that it might be the case that some 
applications (KOrganizer?) might want a richer representation than a 
QDateTime allows: something with an explicit timezone.

Thanks, Shaheed
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic