Block days for few occurrences?

Can I block days such as Monday or Tuesday for a few occurrences?

Furthermore, can I also enable days to be repeatly blocked after few weeks?

Hello,
unfortunately, marked/blocked timespans do not support complex recurring patterns, so specifying rules like ‘block each monday until date’ is not possible. If you need to block several days you’ll have to block each day with start_date/end_date marked timespan

docs.dhtmlx.com/scheduler/api__s … properties

So, what I can do is to manually find out each date which is detected as Sunday and block these dates with loop function, is it?