QDateTime: Add validity checks
authorJohn Layt <jlayt@kde.org>
Sun, 17 Jul 2011 18:30:12 +0000 (19:30 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 31 Jan 2012 03:18:37 +0000 (04:18 +0100)
commit0e62fc73c905d1f476f3c1493db1bde8096ac609
tree46601f254926276d6006e986d4eb01b2dde810b4
parent08b5eb579f39c38c563f5f5facbd014a930bc1c5
QDateTime: Add validity checks

Check the validity of date/time before attempting to perform maths.

Change-Id: Ia6a2caf07c6c36f7d7fac713a77bc4eb456c6ed6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
dist/changes-5.0.0
src/corelib/tools/qdatetime.cpp
tests/auto/corelib/tools/qdate/tst_qdate.cpp
tests/auto/corelib/tools/qtime/tst_qtime.cpp