[Qt-interest] New Date and Time Features in Qt5?

Thomas Meyer public at meyer-thomas.com
Sat May 14 00:45:16 CEST 2011


Hi,
from the Qt Assistent for Qt 4.7: QDate Class Reference:
...


        No Year 0

There is no year 0. Dates in that year are considered invalid. The year 
-1 is the year "1 before Christ" or "1 before current era." The day 
before 0001-01-01 is December 31st, 1 BCE.
...


The astronomical date have a year 0. In astronomical date the JD 0.0 is 
-4712 Jan 01.
In civil date (QDate) JD 0.0 is -4713 Jan 01.

And I want a astronomical extension. JD is the same at all, but the 
conversion into the
calendar is not the same.

Thomas



Am 14.05.2011 00:01, schrieb Thiago Macieira:
> On Friday, 13 de May de 2011 22:38:13 Thomas Meyer wrote:
>> Hi,
>> I mean the year zero (astronomical; JD = 1721057.5; e.g. -1 Jan 01, 0
>> Jan 01, 1 Jan 01).
> It is supported. Since Qt supports dates until 4713 BC, you'd expect that all
> dates since are supported, wouldn't you?
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110514/c45ebfd5/attachment.html 


More information about the Qt-interest-old mailing list