}
protected void verifyCompareToInstant(DateTime dt, List<QuarterDetail> quarters, int... contains) {
final Iterator<QuarterDetail> itr = quarters.iterator();
for (int q = 0; q < 4; q++) {
final QuarterDetail quarter = itr.next();
assertEquals(q + ": " + dt + " is not between " + quarter.getStart() + " and " + quarter.getEnd(), contains[q], quarter.compareTo(dt));
}
}
@Test
public void testValidateQuarters() {