GregorianEraCalc eraCalc = (GregorianEraCalc)getEraCalc();
testAssignYearField(eraCalc, eraCalc.getMinYear(), eraCalc.getMaxYear());
}
public void testIsLeapYear() {
GregorianEraCalc eraCalc = (GregorianEraCalc)getEraCalc();
for (int y = eraCalc.getMinYear(); y <= eraCalc.getMaxYear(); y++) {
boolean expected = isLeapYear(y);
assertEquals(expected, eraCalc.isLeapYear(y));
}
}