qt5base-lts/tests/auto/corelib/tools
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
..
qalgorithms Add qPopulationCount() function, extracted from QBitArray 2013-04-03 11:38:35 +02:00
qarraydata Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbitarray Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbytearray tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qbytearraymatcher Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbytedatabuffer Improve QByteDataBuffer::read() performance with partial reads 2012-11-03 00:24:37 +01:00
qcache Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qchar Ensure we don't repeat QTBUG-30931 in Qt5 2013-06-18 13:36:23 +02:00
qcommandlineparser Long live QCommandLineParser! 2013-08-24 21:33:39 +02:00
qcontiguouscache Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qcryptographichash Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qdate Add the RFC2822Date format 2013-07-24 15:02:35 +02:00
qdatetime QDateTime - Improve and expose Qt::OffsetFromUtc 2013-08-28 19:08:14 +02:00
qeasingcurve Avoided zero devision in cube root approximation 2013-07-29 19:29:15 +02:00
qelapsedtimer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qexplicitlyshareddatapointer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfreelist Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qhash QHash/QSet - fix QHash::erase when the hash is shared 2013-08-24 15:36:30 +02:00
qline Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qlinkedlist QLinkedList - fix insert with iterator when the list is shared. 2013-08-24 15:36:30 +02:00
qlist QList - fix insert with iterator on shared instance 2013-08-24 15:36:30 +02:00
qlocale BlackBerry: fix tst_QLocale::emptyCtor() 2013-06-10 16:32:57 +02:00
qmap QMap - fix erase with iterator when the map is shared 2013-08-24 15:36:30 +02:00
qmargins Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qmessageauthenticationcode tst_qmessageauthenticationcode: Fix warning about character conversion. 2013-06-08 10:29:34 +02:00
qpair Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qpoint Add static dotProduct methods to the QPoint(F) classes 2013-01-26 00:09:14 +01:00
qpointf Fix QPointF::division autotest 2013-08-19 14:24:28 +02:00
qqueue Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qrect Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qregexp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qregularexpression QRegularExpression: print a warning if (?J) is used in a pattern 2013-02-12 22:40:21 +01:00
qringbuffer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qscopedpointer Implement move-ctor and move-assignment-op for QScopedPointer 2013-07-28 23:09:10 +02:00
qscopedvaluerollback Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qset Added initializer list constructors for Qt associative containers. 2013-01-24 11:38:54 +01:00
qsharedpointer Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsize Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsizef Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstl Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstring Add some extra tests for QString::arg 2013-04-29 16:56:58 +02:00
qstring_no_cast_from_bytearray Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstringbuilder Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstringlist Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstringmatcher Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qstringref QStringRef: Added toInt(), toUInt(), etc... functions to QStringRef. 2013-02-22 21:23:33 +01:00
qtextboundaryfinder Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtime Add the RFC2822Date format 2013-07-24 15:02:35 +02:00
qtimeline Fixed bug in QTimeLine::setPaused(false) 2013-03-13 14:51:05 +01:00
qvarlengtharray QVarLengthArray: add squeeze function 2013-01-28 16:52:40 +01:00
qvector QVector - removeLast optimize 2013-03-07 08:37:26 +01:00
tools.pro Long live QCommandLineParser! 2013-08-24 21:33:39 +02:00