QDate range extended

Jason Harris kstars at 30doradus.org
Wed Jun 14 02:33:38 BST 2006


Hello,

On Tuesday 14 June 2006 04:57, David Jarvie wrote:
> 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.

Since David brought it up...if the -4712 limit is essentially arbitrary, I'd 
like to request that it be removed.  I guess I've made my case before for 
wanting very remote dates in KStars.  I understand that most other apps won't 
need a larger range of years, but if there's nothing stopping you from 
providing a much larger range of years, then why not do it?  

I'd like to get rid of my ExtDateTime classes, but I'll have to keep them if 
QDate can't handle dates prior to -4712.

Jason
-- 
-------------------------------
KStars: http://edu.kde.org/kstars
Forums: http://kstars.30doradus.org




More information about the kde-core-devel mailing list