[Boost-bugs] [Boost C++ Libraries] #12630: Limits for boost::gregorian are inconsistent

Subject: [Boost-bugs] [Boost C++ Libraries] #12630: Limits for boost::gregorian are inconsistent
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-28 22:57:11


#12630: Limits for boost::gregorian are inconsistent
-------------------------------+------------------------
 Reporter: tim.g.armstrong@… | Owner: az_sw_dude
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost 1.61.0 | Severity: Problem
 Keywords: |
-------------------------------+------------------------
 boost::gregorian::greg_year::max() returns 10000 but
 boost::gregorian::date(max_date_time).year() returns 9999

 This can lead to date objects being constructed that are greater than the
 maximum date.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12630>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC