Query particular calendar

I track three calendars on my phone, plus Google gives me holidays and birthdays for two more calendars. Is there a way to query for the first event of a particular calendar? For example, I'd like to show the first upcoming birthday which may be a month away. But inevitably there will be an earlier events on one of the other calendars it has to be ruled out. I suppose a while loop or something similar could handle this, but I'm thinking of about a feature of the CI function. Perhaps something like CI(start,calname) where calname is the name of the calendar I wish to query.