How to block time recursively?

I know how to block single event time by addMarkedTimespan.
How to block recursive events by that method?
Also, is addMarkedTimespan good with json data?
Thanks in advance

Type of data doesn’t change anything, all functionality works the same for all supported data types.
As for blocking recurring events - yep, default functionality must check all occurences of recurring event against registered block areas?

what I meant is…
The document said the parameters of addMarkedTimespan can be start_date,end_date,days,zones,css,html,type,invert_zones and sections

but for this kind of json data:
[{ “start_date”: “2013-01-23 07:05” , “end_date”: “2013-01-29 07:05” , “text”: “new” , “id”: “1359159513025” , “event_pid”: “” , “event_length”: “24300” , “rec_pattern”: “week_1___1,2,3,4,5” , “rec_type”: “week_1___1,2,3,4,5#4” },
{ “start_date”: “2013-01-24 07:05” , “end_date”: “2013-01-24 13:50” , “text”: “new” , “id”: “1359159513026” , “event_pid”: “1359159513025” , “event_length”: “1359039900” , “rec_pattern”: “none” , “rec_type”: “none” },
{ “start_date”: “2013-01-25 07:05” , “end_date”: “2013-01-25 13:50” , “text”: “new” , “id”: “1359159513027” , “event_pid”: “1359159513025” , “event_length”: “1359126300” , “rec_pattern”: “none” , “rec_type”: “none” },
{ “start_date”: “2013-01-28 07:05” , “end_date”: “2013-01-28 16:20” , “text”: “new” , “id”: “1359159513028” , “event_pid”: “1359159513025” , “event_length”: “1359385500” , “rec_pattern”: “” , “rec_type”: “” }]

Is there any way I can use these data as addMarkedTimespan(jsonData,“json”) like function: scheduler.parse(jsonData,“json”)?
Thank you very much.

Hi
.addMarkedTimespan and .blockTime expects a single configuration object like: scheduler.blockTime({ days: 2, zones: "fullday", sections: { timeline: [2,3] } });or a set of arguments scheduler.blockTime(2, "fullday", { timeline: [2,3] }); It won’t work neither with arrays(you’ll have to iterate array manually and call .addMarkedTimespan for each member) nor with recurring events format. I.e. currently you can’t assing recurring pattern to marked timespan, if that was your question

Thank you.