break;
case REJECTION:
calendar.getProperties().add(Method.CANCEL);
}
final VEvent vEvent = ICal4JUtils.createVEvent(teamEvent.getStartDate(), teamEvent.getEndDate(), teamEvent.getUid(), teamEvent.getSubject(), teamEvent.isAllDay());
vEvent.getProperties().add(new Sequence(teamEvent.getSequence()));
if (teamEvent.hasRecurrence() == true) {
vEvent.getProperties().add(new RRule(teamEvent.getRecurrenceObject()));
}
if (StringUtils.isNotBlank(teamEvent.getLocation()) == true) {
vEvent.getProperties().add(new Location(teamEvent.getLocation()));