qt5base-lts/tests/auto/corelib/time
Edward Welbourne b1379d34dd Add a distant-future local-time-type to tst_QDateTime
It turns out glibc stops varying DST changes past where a 32-bit
signed day-count from 1970 reaches (which, all things considered, can
hardly be called a bug, for all that it's ...), at odds with QTZ's
extrapolations from the current IANA DB rules. As the last date QDT
can represent happens to be in the opposite side of everyone's DST
from the one that leaves zones in, this lead to the 2038
local-time-type not reliably being useful for predicting the max-date
behavior. So add a distant-future time-type that probes beyond glibc's
cut-off, and have relevant tests check that instead of the 2038 one.

Change-Id: If4e244d80fe2447da3bb9d5c406808c6c22c0a73
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-05-04 14:06:08 +02:00
..
qcalendar Refactor QGregorianCalendar::julianFromParts to return std::optional 2023-05-04 14:06:07 +02:00
qdate Move some repeated constants from tests into tst_QDate 2023-05-02 17:03:27 +02:00
qdatetime Add a distant-future local-time-type to tst_QDateTime 2023-05-04 14:06:08 +02:00
qdatetimeparser tst_QDateTimeParser::intermediateYear(): adapt for Indian/Cocos zone 2023-04-14 15:21:39 +02:00
qtime tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
qtimezone Change QTimeZone's offset range into constants, not an enum 2023-04-28 16:13:25 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00