Integer.valueOf((String) contentletFormData.get("recurrenceDayOfWeek")):null;
Integer recurrenceMonthOfYear =UtilMethods.isSet((String) contentletFormData.get("recurrenceMonthOfYear"))?
Integer.valueOf((String) contentletFormData.get("recurrenceMonthOfYear")):null;
Integer recurrenceDayOfMonth =UtilMethods.isSet((String) contentletFormData.get("recurrenceDayOfMonth"))?
Integer.valueOf((String) contentletFormData.get("recurrenceDayOfMonth")):null;
Occurrency occurency = Occurrency.findOcurrency((String)contentletFormData.get("recurrenceOccurs"));
if(occurency!=null){
Calendar firstOccurence = RecurrenceUtil.calculateFirstOccurence(eventStartDate,
interval,
occurency,