qt5base-lts/tests/auto/corelib/io
John Layt 13c16bbd06 QDateTime - Improve and expose Qt::OffsetFromUtc
The Qt::OffsetFromUtc TimeSpec was made public in Qt 4.4 but the access
methods were never made public in the apidox effectively meaning the
feature was never used.  The implementation was also incomplete and
inconsistent.

This change cleans up the implementation and exports new public API for
using the TimeSpec using new method names consistent with the new
QTimeZone support.

This change increases the QDataStream Version number for Qt 5.2 to 15.

The behavior of one constructor has changed slightly to be consistent
with the rest of the feature, but this behavior was never documented.

[ChangeLog][QtCore][QDateTime] Fully implement support for Qt::TimeSpec
of Qt::OffsetFromUTC, added new methods for offsetFromUTC(),
toTimeSpec(), and toOffsetFromUTC().

Task-number: QTBUG-26161
Task-number: QTBUG-29666

Change-Id: If3cc7fc9778ca2b831644408ae749448d5975a3a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
2013-08-28 19:08:14 +02:00
..
largefile Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qabstractfileengine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbuffer Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
qdatastream QDateTime - Improve and expose Qt::OffsetFromUtc 2013-08-28 19:08:14 +02:00
qdataurl tst_qdataurl: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:45 +02:00
qdebug Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qdir fix QFileSystemEngine::createDirectory race condition 2013-06-14 16:57:57 +02:00
qdiriterator Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfile Fix tst_QFile::caseSensitivity on OS X 2013-08-05 17:20:13 +02:00
qfileinfo Improve tst_QFileInfo::compare() test, but mark as QEXPECT_FAIL on Mac 2013-08-07 12:45:13 +02:00
qfilesystementry Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfilesystemwatcher test: Mark tst_QFileSystemWatcher::watchFileAndItsDirectory() as XFAIL 2013-08-11 00:33:50 +02:00
qiodevice Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qipaddress Make QIPAddress::parseIp6 return the first bad character 2013-07-20 05:08:08 +02:00
qlockfile tst_qlockfile: increase delay on Windows. 2013-03-19 06:29:13 +01:00
qnodebug Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qprocess Fix crash in QProcess::waitForStarted() on Unix. 2013-08-13 19:48:15 +02:00
qprocess-noapplication Re-revert "Delay creation of the process manager" 2012-10-15 04:52:08 +02:00
qprocessenvironment Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qresourceengine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsavefile QSaveFile: allow saving to a writable file in a non-writable directory 2013-04-05 11:04:35 +02:00
qsettings test: Mark tst_QSettings::ctor() and tst_QSettings::rainersSyncBugOnMac(native) as XFAIL 2013-08-08 00:34:16 +02:00
qstandardpaths Add a Qt-API style QStandardPaths::setTestModeEnabled 2013-08-09 21:25:24 +02:00
qtemporarydir Let QTemporaryDir::stressTest() run in temporary directory. 2013-06-12 14:12:05 +02:00
qtemporaryfile Ensure QTemporaryFile can create files when an identical dir exists. 2013-03-23 14:42:45 +01:00
qtextstream Fixed QTextStream "stdin" auto tests 2013-07-30 09:56:40 +02:00
qurl Add unit test to ensure %3A in a path isn't decoded to ':' 2013-08-23 21:39:23 +02:00
qurlinternal Make sure that QUrl::FullyDecoded mode uses U+FFFD for bad UTF-8 2013-08-04 04:48:13 +02:00
qurlquery tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qwinoverlappedionotifier bail out early in QWinOverlappedIoNotifier::waitForNotified 2013-07-05 13:37:22 +02:00
io.pro Long live QLockFile 2013-03-05 06:26:33 +01:00