KDateTime: iteration 5
David Jarvie
lists at astrojar.org.uk
Sun Dec 4 18:19:29 GMT 2005
Attached is another revision of the KDateTime header. Again, you can download
the implementation file at
http://www.astrojar.org.uk/linux/download/kdatetime.cpp.
I've improved the toString()/fromString() methods and I hope addresses
people's concerns. '-0000' in the RFC 2822 syntax now translates as UTC, but
there is bool flag available to enable the caller to detect that '-0000' or
an unknown time zone name was present, so that applications can do special
processing if they want to. There is also a setFromStringDefault() method to
specify what default time specification should be used by fromString() for
other formats, if no time zone or UTC offset has been specified.
I've also added a facility to set a KDateTime as representing a date only, not
a date/time.
Some of the APIDOX comments have been improved to make things clearer.
--
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/linux/kalarm.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdatetime.h
Type: text/x-c++hdr
Size: 39615 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051204/ac6ae4df/attachment.h>
More information about the kde-core-devel
mailing list