From fc24979e43162b27b7a482fd4963ae615f5ce54f Mon Sep 17 00:00:00 2001 From: John Layt Date: Mon, 9 Jan 2012 20:50:00 +0000 Subject: QDateTime: Remove Julian Calendar Convert QDate to only use Gregorian calendar and not Julian calendar before 1582. In future the Julian can be used via proper calendar classes. Change-Id: I547a3550332057a0ab1be616706630b6afaceffc Reviewed-by: Thiago Macieira --- dist/changes-5.0.0 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index ed5ddc240d..e5f57732ba 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -241,6 +241,10 @@ QtCore in Qt 4 they returned a null QString or a null QStringRef. * QDate, QTime, and QDateTime have undergone important behavioural changes: + * QDate only implements the Gregorian calendar, the switch to the Julian + calendar before 1582 has been removed. This means all QDate methods will + return different results for dates prior to 15 October 1582, and there is + no longer a gap between 4 October 1582 and 15 October 1582. * QDate::setYMD() is deprecated, use QDate::setDate() instead * Most methods now apply strict validity checks and will return appropriate and consistent values when invalid. For example, QDate::year() will return -- cgit v1.2.3