protected boolean isLeapYear(int year) {
return MathUtil.mod(year, 4) == 0;
}
public void testAssignYearField() {
JulianEraCalc eraCalc = new JulianEraCalc();
testAssignYearField(eraCalc, -15000, 1581);
// Test some really old dates
int[] yearStarts =
{-50000, -100000, -200000, -500000, -600000, -800000, -900000, -1000000, -1500000};