StaticDataHelper.log("[DEBUG]Found END (" + fieldsArray[i] + ")");
long endDate = rule.getDate(RepeatRule.END);
SimpleDateFormat formatter = new SimpleDateFormat(DATETIME_FORMAT_UTC);
String formattedDate = formatter.formatLocal(endDate);
//e.g. <PatternEndDate>20080504T150000Z</PatternEndDate>
eventBuffer.append("<" + PATTERN_END_DATE + ">" +
formattedDate +
"</" + PATTERN_END_DATE + ">");