()
| 3649 | end_slot = Math.round(ev_length / 60 / 60 / 1e3 / 24); |
| 3650 | } |
| 3651 | function condition() { |
| 3652 | const isDayUnit = obj.x_unit === "day"; |
| 3653 | return isDayUnit ? start_slot * dir < end_slot * dir : start_slot * dir <= end_slot * dir; |
| 3654 | } |
| 3655 | while (condition()) { |
| 3656 | var check = scheduler2.date.add(sd, obj.x_step * dir, obj.x_unit); |
| 3657 | if (ignore && ignore(sd)) { |