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.
Michele Calgaro
65a9f54e10
|
4 years ago | |
---|---|---|
.. | ||
CMakeLists.txt | 4 years ago | |
Makefile.am | 4 years ago | |
README | ||
extcalendarsystem.cpp | 12 years ago | |
extcalendarsystem.h | 12 years ago | |
extcalendarsystemgregorian.cpp | 12 years ago | |
extcalendarsystemgregorian.h | 12 years ago | |
extdatepicker.cpp | 4 years ago | |
extdatepicker.h | 4 years ago | |
extdatetbl.cpp | 4 years ago | |
extdatetbl.h | 4 years ago | |
extdatetime.cpp | 12 years ago | |
extdatetime.h | ||
extdatetimeedit.cpp | 13 years ago | |
extdatetimeedit.h | 12 years ago | |
extdatewidget.cpp | 12 years ago | |
extdatewidget.h | ||
main.cpp | 12 years ago | |
test_extdate.cpp | 4 years ago | |
testwidget.cpp | 12 years ago | |
testwidget.h | 12 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.