Why does org.apache.commons.lang.time.DateUtils
have in its source code a limitation on the number of years?
if (val.get(Calendar.YEAR) > 280000000) {
throw new ArithmeticException("Calendar value too large for accurate calculations");
}
I wanted to know, why exactly 280 millions, not for exmaple 285. I guessed already, that we won't have java anymore. Also I know, that Long can hold 292278994 years in milliseconds.