KDateTime: revised version

Nicolas Goutte nicolasg at snafu.de
Tue Nov 22 15:52:34 GMT 2005


On Tuesday 22 November 2005 16:25, Nicolas Goutte wrote:
> On Tuesday 22 November 2005 11:08, David Jarvie wrote:
> > On Tuesday 22 Nov 2005 4:23, Nicolas Goutte wrote:
> > >On Monday 21 November 2005 19:06, David Jarvie wrote:
> > >> On Monday 21 Nov 2005 13:15, Nicolas Goutte wrote:
(...)
> static QDateTime fromString(const QString &string, Qt::DateFormat format =
> Qt::ISODate);
>
> static QDateTime fromString(const QString &string, const QString &format);

I am thinking: if we have no implicit conversion from QDateTime to KDateTime 
then those two static functions should perhaps return a KDateTime instead of 
QDateTime.

>
> static KDateTime fromString(const QString &string, const QString &format,
> const KTimezones &zones, bool utcIfAmbiguous = false);
>
(...)

Have a nice day!





More information about the kde-core-devel mailing list