On 2017-01-02 11:01, Frédéric Marchal wrote:
(...)
There is more to it than converting a date to a string:

* Add N days to a date.
* Find the number of days in a month.
* Compare two dates.
* Count the number of days between two dates.

Hi,


Have you seen KCalendarSystem ? https://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKCalendarSystem.html It can do all the above and doesn't require disruptive changes such as modifying QDate. It's also stable and well tested, as it's been used in Kontact for many years.


Regards,
--
Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to