I was excited to run across this, but unfortunately it always returns -1 for me. I was hoping to find a way that allows me to filter recurring events from my query.
Update: I found out I can simply use the event_show_occurrences for my problem
event_show_occurrences