Good day. Are there libraries for working with big dates and times? Gregorian calendar. That is, before 0000 - and more than 10,000 years.
Tried boost :: date_time there restriction 1400-10000. I also wrote a wrapper over C time.h, but there is a reference point of 1900.
[+] - necessarily [!] - preferably [-] - not necessarily
- [+] Precise with leap years.
- [+] Standard operations (creation from a certain format, addition, subtraction, addition of intervals)
- [!] Support for BC and BC
- [!] Support the centuries.
- [+] Support hours, minutes, seconds.
- [!] Ability to set the interval manually.
- [-] The choice of accuracy manually (the ability to set 128 bit numbers for seconds for example).
- [-] Performance is not important.
QDateTime
able to:> The range of valid dates is from January 2nd, 4713 BCE, to some time in the year 11 million CE. The Julian Day returned byQDate::toJulianDay()
Julian DayQDate::toJulianDay()
is a number in the contiguous range from 1 to overflow, even acrossQDateTime's
"date holes". For example, Hebrew, Islamic or Chinese. - Costantino Rupert