final VEvent vEvent = ICal4JUtils.createVEvent(teamEvent.getStartDate(), teamEvent.getEndDate(), uid, summary,
teamEvent.isAllDay());
if (StringUtils.isNotBlank(teamEvent.getLocation()) == true) {
vEvent.getProperties().add(new Location(teamEvent.getLocation()));
}
vEvent.getProperties().add(new Name(teamEvent.getCalendar().getTitle()));
if (StringUtils.isNotBlank(teamEvent.getNote()) == true) {
vEvent.getProperties().add(new Description(teamEvent.getNote()));
}
// add alarm if necessary