def METHOD_NAME(start_dt, delta, stop_criterion, num_times, until_dt,
                        expected_dates, expected_flag, dummy_event):
    dummy_event.timezone = 'Europe/Zurich'
    clone_calculator = IntervalCloneCalculator(dummy_event)
    form = CloneRepeatIntervalForm(dummy_event, csrf_enabled=False, recurrence=delta, stop_criterion=stop_criterion,
                                   num_times=num_times)
    expected_dates = [dummy_event.tzinfo.localize(dt) for dt in expected_dates]
    form.start_dt.data = dummy_event.tzinfo.localize(start_dt)
    form.until_dt.data = dummy_event.tzinfo.localize(until_dt) if until_dt else None
    dates, last_day_of_the_month = clone_calculator._calculate(form)
    assert last_day_of_the_month is expected_flag
    assert dates == expected_dates