RFC: addition of generic timezone support to kdelibs
David Jarvie
lists at astrojar.org.uk
Sun Jul 10 13:01:55 BST 2005
On Sunday 10 Jul 2005 05:03, Shaheed wrote:
> Reinhold wrote:
> >Okay. Looking at the class, what I'm missing are
> > 2) Being able to convert a QDateTime from one KTimezone to
> > another
>
> 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.
Cheers,
David.
More information about the kde-core-devel
mailing list