assertEquals("half hour!", 0.5, timePeriod.hours().doubleValue(), 2);
assertEquals("half hour!", 0.5, timePeriod.hours().doubleValue(), 0);
    public void testHalfHour() {        Date startDate = getDate(3,30);        Date endDate = getDate(4,0);        TimePeriod timePeriod = new TimePeriod(startDate, endDate);        assertEquals("half hour!", 0.5, timePeriod.hours().doubleValue(), 2);    }