Boost logo

Boost :

Subject: Re: [boost] gregorian::date limited to years 1400 - 9999
From: Viacheslav Usov (via.usov_at_[hidden])
Date: 2017-01-09 06:40:26

On Thu, Dec 22, 2016 at 2:58 PM, Viacheslav Usov <via.usov_at_[hidden]> wrote:

> Conceptual question: why is the Gregorian calendar's time range limited to
> years 1400 - 9999?
> If this or any of the below has already discussed in some public forum
> (which I have failed to found, gmane's rebuild being possibly the culprit),
> kindly point me it to it.
> I am specifically interested in 1400. It seems completely arbitrary to me.
> It predates the time the calendar was introduced by almost two centuries,
> so that cannot be the reason why it cannot support earlier times.
> ISO 8601 allows the entire 0 - 9999 range, even though dates earlier
> than 1582-10-15 are subject to an agreement among the parties involved.
> Extending the proleptic Gregorian calendar all the way back to year 0 seems
> like one of the very few things that make sense.
> So my question is, is there any technical problem in supporting the entire
> 0 - 9999 range?
> If not, then my next question would be, what else would speak against
> supporting the 0 - 9999 range?
> If you expect some compatibility could be broken by that, then perhaps the
> low end could become a template parameter with the default at 1400?
> Cheers,
> V.

My original message was sent just before the holiday season, which might be
why there was not much feedback. I am still hoping to get some more


Boost list run by bdawes at, gregod at, cpdaniel at, john at