Date before = (Date)ADDROLL[i+2];
Date after = (Date)ADDROLL[i+3];
testCal.setTime(before);
if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, amount);
else testCal.roll(Calendar.WEEK_OF_YEAR, amount);
log((ADDROLL[i]==ADD?"add(WOY,":"roll(WOY,") +
amount + ") " + before + " => " +
testCal.getTime());
if (!after.equals(testCal.getTime())) {
logln(" exp:" + after + " FAIL");