Repeating events has always been a hard subject. I think that Nigel Garvey had made a script to deal with repeating events, so you might look that up. The problem with repeating events is that you can’t get a reference to the individual repeats. You only get a reference to the original event.
I think you need to read the ical fileand do all kinds of calculations and stuff That was before and today is another day, so not quite sure.
I remember now. You get the reference to the original event. Find what is the repeating interval. Then, calculate all repeating events to find what event lands on that certain day. Think it was something like that. Interesting stuff!