Logo Search packages:      
Sourcecode: libcommons-lang-java version File versions  Download package

static void org::apache::commons::lang::time::DateUtilsTest::assertWeekIterator ( Iterator  it,
Calendar  start 
) [inline, static, private]

This checks that this is a 7 element iterator of Calendar objects that are dates (no time), and exactly 1 day spaced after each other.

Definition at line 672 of file DateUtilsTest.java.

Referenced by assertWeekIterator(), testMonthIterator(), and testWeekIterator().

        Calendar end = (Calendar) start.clone();
        end.add(Calendar.DATE, 6);

        assertWeekIterator(it, start, end);

Generated by  Doxygen 1.6.0   Back to index