You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/libkdeedu/extdate
tpearson a374efce3a
TQt4 port kdeedu
13 years ago
..
Makefile.am Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
extcalendarsystem.cpp TQt4 port kdeedu 13 years ago
extcalendarsystem.h TQt4 port kdeedu 13 years ago
extcalendarsystemgregorian.cpp TQt4 port kdeedu 13 years ago
extcalendarsystemgregorian.h Revert automated changes 14 years ago
extdatepicker.cpp TQt4 port kdeedu 13 years ago
extdatepicker.h TQt4 port kdeedu 13 years ago
extdatetbl.cpp TQt4 port kdeedu 13 years ago
extdatetbl.h TQt4 port kdeedu 13 years ago
extdatetime.cpp TQt4 port kdeedu 13 years ago
extdatetime.h TQt4 port kdeedu 13 years ago
extdatetimeedit.cpp TQt4 port kdeedu 13 years ago
extdatetimeedit.h TQt4 port kdeedu 13 years ago
extdatewidget.cpp TQt4 port kdeedu 13 years ago
extdatewidget.h TQt4 port kdeedu 13 years ago
main.cpp Trinity Qt initial conversion 14 years ago
test_extdate.cc TQt4 port kdeedu 13 years ago
testwidget.cpp TQt4 port kdeedu 13 years ago
testwidget.h TQt4 port kdeedu 13 years ago

README

This libray consists of a group of classes which allow KDE 
applications to access calendar dates outside of the limited range 
of years imposed by QDate.

The QDate class has a limited range of valid dates.  It does not 
recognize dates prior to 14 Oct 1752 (when the Gregorian calendar 
was adopted by England), nor dates after 31 Dec 8000.  Both of these 
limits are arbitrary.


The following classes are included:

ExtDate:  Replaces QDate.  There is no restriction on what dates 
may be entered.  For dates in the valid QDate range, it is 
completely equivalent to QDate.

ExtDateTime:  Replaces QDateTime.  Consists of a QTime object
and an ExtDate object.

ExtCalendarSystem:  Replaces KCalendarSystem.  Uses ExtDate instead
of QDate.  ExtCalendarSystem is a baseclass foundation for several 
different calendar systems.  A "calendar system" is just a method for
hierarchically subdividing the long count of days known as the Julian 
Day Calendar into groups (weeks, months, years).  

ExtCalendarSystemGregorian:  Replaces KCalendarSystemGregorian.
The most common calendar system in modern western societies is the 
Gregorian calendar.  This class implements the Gregorian calendar 
as a ExtCalendarSystem.

ExtDateTable:  Replaces KDateTable.
ExtDatePicker:  Replaces KDatePicker.
ExtDateTimeEdit: Replaces QDateTimeEdit.
ExtDateWidget:  Replaces KDateWidget.

There are two test programs with the library, to verify the 
functionality of the ExtDate classes:

test_extdate tests the non-GUI functionality, comparing results of 
several operations with the results from QDate.

test_extdatepicker presents a KDatePicker widget and an ExtDatePicker
widget side-by-side.