//need to shift start to make room for new ones
if (interval.getStart() < assignment.getStart()) {
assignment.setStart(interval.getStart());
}
IntervalValue replacementIntervalValue = (IntervalValue)replacementGenerator.current();
bucket = PersonalContourBucket.getInstance(intervalDuration,replacementIntervalValue.getValue()); // make a new bucket
activeDate = replacementGenerator.currentEnd(); // ignore everything in the future until active date
} else if (interval.getStart() >= activeDate) { // use contour bucket
intervalDuration = workCalendar.compare(interval.getEnd(),interval.getStart(), false);
if (intervalDuration == 0) // don't treat degenerate cased