[Development] Calendar Systems proposal
Sergio Martins
sergio.martins at kdab.com
Mon Jan 2 13:44:44 CET 2017
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.martins at 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
More information about the Development
mailing list