Package org.jasig.portal.events.aggr

Examples of org.jasig.portal.events.aggr.QuarterDetail.compareTo()


    }
    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() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.