### Question:
Dates { public static Iterable<DateTime> iterableInterval(Interval interval, DTimeUnit type) { return new IterableInterval(interval, type); }  static Period period(int length, PeriodType type); static Interval truncateInterval(Interval interval, int limit, PeriodType type); static Interval parseInterval(String begStr, String endStr, DateTimeFormatter format); static Interval parseInterval(String begStr, String endStr); static Date endOfDay(Date d); static Date begOfDay(Date d); static Iterable<DateTime> iterableInterval(Interval interval, DTimeUnit type); static Iterator<DateTime> intervalIterator(Interval interval, DTimeUnit type); static final DateTimeFormatter rfc1123; static final DateTimeFormatter yMdFormat; static final DateTimeFormatter yMdHFormat; }### Answer:
@Test public void testIterableInterval() { for (DTimeUnit unit : types) { switch (unit) { case ALL_TIME: default: testIterableInterval(0, unit); testIterableInterval(1, unit); testIterableInterval(2, unit); testIterableInterval(100, unit); } } }