[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:       David Jarvie <lists () astrojar ! org ! uk>
Date:       2005-07-10 12:01:55
Message-ID: 200507101301.56197.lists () astrojar ! org ! uk
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

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