Boost logo

Boost :

Subject: Re: [boost] gregorian::date limited to years 1400 - 9999
From: alanbirtles2 (alan.birtles_at_[hidden])
Date: 2016-12-23 04:29:13


The lower limit is more or less explained in the documentation
http://www.boost.org/doc/libs/1_62_0/doc/html/date_time/gregorian.html

> The implemented calendar is a "proleptic Gregorian calendar" which extends
> dates back prior to the Gregorian Calendar's first adoption in 1582. The
> current implementation supports dates in the range 1400-Jan-01 to
> 9999-Dec-31. Many references will represent dates prior to 1582 using the
> Julian Calendar, so caution is in order if accurate calculations are
> required on historic dates. See Calendrical Calculations by Reingold &
> Dershowitz for more details. Date information from Calendrical
> Calculations has been used to cross-test the correctness of the Gregorian
> calendar implementation.

--
View this message in context: http://boost.2283326.n4.nabble.com/gregorian-date-limited-to-years-1400-9999-tp4690667p4690682.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk