while (counter.le(last)) {
final Date immDate = IMM.nextDate(counter, false);
// check that imm is greater than counter
if (immDate.le(counter)) {
fail("\n " + immDate.weekday() + " " + immDate + " is not greater than " + counter.weekday() + " " + counter);
}
// check that imm is an IMM date
if (!IMM.isIMMdate(immDate, false)) {