RFC: ExtDate in kdelibs?

Frans Englich frans.englich at telia.com
Tue Sep 21 00:55:21 BST 2004


On Monday 20 September 2004 17:59, Jason Harris wrote:
> Hello,
>
> In KStars, we wanted the ability to use dates outside of the normal Qt
> range (years 1752-8000), so we have created replacements for QDate,
> QDateTime, and some of the date-related widgets (e.g., KDatePicker), in
> kdeedu/libkdeedu/extdate.  There are some test suites in that
> directory, so you can verify that it is compatible with QDate.
>
> One thing the ExtDate widgets do not handle is the use of non-Gregorian
> KCalendarSystems, because KGlobal::locale()->calendar() would need to
> return an ExtCalendarSystem object.  I ported ExtCalendarSystem and
> ExtCalendarSystemGregorian, and we currently use only this calendar in
> the widgets.
>
> I'd like to propose adding ExtDateTime to kdelibs (probably renaming
> it to KDateTime) for KDE4, and updating the date-related widgets and
> KCalendarSystems to use this new extended date class.

Isn't it something which could be implemented in Qt? 


Cheers,

		Frans





More information about the kde-core-devel mailing list