Added an function in the event module to get the current occurrence for non repeating event.