Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-950

QAbstractCalendarSystem suggestion

    XMLWordPrintable

Details

    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              earthdomain Earth Domain (Inactive)
              rve Anders Bakken
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes