[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: QDate range extended
From:       Frans Englich <englich () kde ! org>
Date:       2006-06-09 13:19:34
Message-ID: 200606091319.34407.englich () kde ! org
[Download RAW message or body]

On Tuesday 30 May 2006 15: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 think it would be practical with a mechanism to determine whether a date is 
flagged as invalid because of that it is outside QDate's range, or because 
the date itself is invalid(non-existant date). KDateTime provides 
isTooEarly() and isTooLate(). Yes, this is not specific to or triggered by 
the range-extension.

The reason is that when you have an invalid date, you don't know if it is so 
because of an invalid date(user error, so to speak), or that QDate is 
incapable of representing a valid date(the software is lacking).

A matter for qt-bugs?


Cheers,

		Frans
[prev in list] [next in list] [prev in thread] [next in thread] 

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