public void test_builder_invalidDateOrder() {
assertThrowsIllegalArg(() -> createDates(SEP_17, SEP_17, null, null));
assertThrowsIllegalArg(() -> createDates(SEP_17, JUN_04, null, null));
assertThrowsIllegalArg(() -> createDates(JUN_04, SEP_17, JUN_03, null));
assertThrowsIllegalArg(() -> createDates(JUN_04, SEP_17, null, SEP_18));
createDates(JUN_04, SEP_05, SEP_05, SEP_05);
assertThrowsIllegalArg(() -> createDates(JUN_04, SEP_17, SEP_05, SEP_04));
assertThrowsIllegalArg(() -> PeriodicSchedule.builder()
.startDate(JUN_04)
.endDate(SEP_17)
.frequency(P1M)
.businessDayAdjustment(BDA)
.firstRegularStartDate(JUL_17)
.overrideStartDate(AdjustableDate.of(AUG_04))
.build());
}