Details
-
Suggestion
-
Resolution: Out of scope
-
P4: Low
-
4.3.0
-
None
-
aa8393c94fea01a4806b204fd3aa343a4e90666b (qt/qtbase/5.14)
Description
It would be good if Qt would separate the calendar algorithms which convert the year-month-day representation to a fixed day count (implemented in Qt as a rounded JD number) from the QDate (and QDateTime) class implementation. Push them into separate classes. This will allow QDate to be allowed with various calendar systems.
Allow the user to select the calendar system upon initialization with default to the Gregrorian calendar.
Provide a QAbstractCalendarSystem class using which users can define their own calendar systems and use them with QDate.
Attachments
Issue Links
- relates to
-
QTBUG-17110 calendar type support
- Closed
-
QTBUG-58404 Add support for Calendar System other than Gregorian; first the Jalali Calendar
- Closed