Calendar calendar = Calendar.getInstance();
calendar.setTime(resizedEvent.getEndDate());
calendar.roll(Calendar.DATE, dayDelta);
resizedEvent.getEndDate().setTime(calendar.getTimeInMillis());
wrapperEvent = new ScheduleEntryResizeEvent(this, behaviorEvent.getBehavior(), resizedEvent, dayDelta, minuteDelta);
}
wrapperEvent.setPhaseId(behaviorEvent.getPhaseId());
super.queueEvent(wrapperEvent);