summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2011-08-25 07:54:16 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-05 00:26:07 +0100
commit8327fa7c11f6c84ccc66be4365ee282a76288788 (patch)
tree680f7ef682a3beddc90106769664934cacd402c2 /examples
parent31b4c5aa05376c2270122679c97a5727dc743d92 (diff)
QDateTime: Store Julian Day as qint64
Store the QDate Julian Day number as an qint64 instead of uint32 to enable support for dates before 2 January 4713 BCE. This changes the possible date range to be approx 2.5 Quadrillion BC to 2.5 Quadrillion AD. A qint32 was not used as it only covers 5 million BCE to 5 million CE which does include Geological or Astronomical time. The effective supported date range is currently 4800 BCE to 1.4 million CE due to restrictions in existing conversion formulas. The effective range will be extended later with new formulas. Change-Id: Ib4345369455b31d4edae8c933b7721e76414e914 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions