@Test
public void testToInterval()
{

    DateTimeUnit start = new DateTimeUnit( 1373, 6, 1, java.util.Calendar.FRIDAY );
    DateInterval interval = calendar.toInterval( start, DateIntervalType.ISO8601_DAY, 0, 10 );
    assertEquals( 1994, interval.getTo().getYear() );
    assertEquals( 9, interval.getTo().getMonth() );
    assertEquals( 2, interval.getTo().getDay() );
}