diff --git a/date.h b/date.h index be87f43..8d9e8f3 100644 --- a/date.h +++ b/date.h @@ -1455,7 +1455,7 @@ inline year year::min() NOEXCEPT { - return year{std::numeric_limits::min()+1}; + return year{-32767}; } CONSTCD11 @@ -1463,7 +1463,7 @@ inline year year::max() NOEXCEPT { - return year{std::numeric_limits::max()}; + return year{32767}; } CONSTCD11