Replacement for KDateTime

John Layt jlayt at kde.org
Mon Aug 3 22:19:37 BST 2015


On 3 August 2015 at 19:58, David Jarvie <djarvie at kde.org> wrote:

> There are a number of cases in kdepim where a date-time or a date can be
> supplied. Using KDateTime makes the code cleaner - there is no need to
> provide overloads or to track whether it's date-only when calling multiple
> layers of functions or classes, because the KDateTime value provides that
> information.

Not to mention needing the time zone as well which a QDate doesn't.

John.




More information about the kde-core-devel mailing list