This module computes DateTime sets based on the Ical spec and it does it well. It saved me hours of work with tedious recurrence handling on a calendar project. If you need to handle event recurrence, I recommend following the Ical spec and using this module as part of the solution.
I do have a small niggle with the interface:
But I expect that will be addressed soon.