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