QDate range extended

David Jarvie lists at astrojar.org.uk
Wed Jun 14 01:04:57 BST 2006


On Tuesday 30 May 2006 16:04, Thiago Macieira wrote:
> I have committed a new qt-copy patch that extends the range of QDate, as
> requested on this mailing list a while ago.
>
> I'd like those who requested such a feature to test the new functionality
> and let me know if this is enough for their needs.

I've been changing the KDateTime code to cater for the extended range, but I 
have noticed that QDate doesn't flag dates < -4712 as invalid, despite the 
statement in the comments that -4712 is the minimum year value. I suspect 
that QDate may be capable of representing dates before that year (with 
negative Julian day numbers), but clarification is needed, and either the 
comment or the validation code in QDate needs to be changed.

-- 
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/linux/kalarm.html




More information about the kde-core-devel mailing list