recurrenceVO.setStartDate((Date)activityRecord.get("startdate"));
recurrenceVO.setUntil((Date)activityRecord.get("Until"));
recurrenceVO.setTimePeriod((String)activityRecord.get("TimePeriod"));
recurrenceVO.setOn(((Number)activityRecord.get("RecurrOn")).intValue());
recurrenceVO.setEvery(((Integer)activityRecord.get("Every")).intValue());
recurrenceVO.fillRecurrenceHashMap();
HashMap recurrenceRuleMap = recurrenceVO.getRecurrenceHM();
if (recurrenceRuleMap != null && recurrenceRuleMap.size() > 0)
{
Date recurrStartDate = (Date)activityRecord.get("startdate");