qt5base-lts/tests/auto/corelib
Andreas Buhr 91140eb726 Adapt QDate::fromString() to accept negative year numbers
The documentation states that QDate::fromString() accepts negative
year numbers, but it did not. This patch adds support for negative
year numbers to QDate::fromString() and corresponding unit tests.
Furthermore, tests are added for positive signs (+) in date strings.

Fixes: QTBUG-84334
Task-number: QTBUG-84349
Change-Id: I575291e7b8317055d4bb530011d7b10c9cd37ae1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2020-10-30 17:19:27 +01:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-10-13 08:44:42 +02:00
global QRandomGenerator: add 64-bit bounded() versions 2020-10-20 22:45:06 -07:00
io Forbid implicit conversions between QFuture and other types 2020-10-30 17:19:26 +01:00
itemmodels Remove QItemSelectionRange's operator<() 2020-10-28 15:27:37 +01:00
kernel Revert "QObject: simplify part of connection logic" 2020-10-27 16:43:12 +01:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
serialization Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
text Purge deprecated language and country codes from QLocale 2020-10-29 10:44:38 +00:00
thread Forbid implicit conversions between QFuture and other types 2020-10-30 17:19:26 +01:00
time Adapt QDate::fromString() to accept negative year numbers 2020-10-30 17:19:27 +01:00
tools Make QVarLengthArray comparisons hidden friends 2020-10-30 13:27:14 +01:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00