suite.addTest(new ComponentTest("testCalculateRecurrenceSet", component, new Period(new DateTime(), java.time.Duration.ofDays(1)), new PeriodList())); expectedPeriods.add(new Period("20080606T100000Z/PT2H")); expectedPeriods.add(new Period("20080607T100000Z/PT2H")); suite.addTest(new ComponentTest("testCalculateRecurrenceSet", component, new Period(new DateTime("20080601T000000Z"), java.time.Duration.ofDays(7)), expectedPeriods)); expectedPeriods.add(new Period("20080622T000000Z/P1D")); expectedPeriods.add(new Period("20080629T000000Z/P1D")); suite.addTest(new ComponentTest("testCalculateRecurrenceSet", component, new Period(new DateTime("20080601T000000Z"), java.time.Period.ofWeeks(6)), expectedPeriods)); return suite;