programador de reuniones de Java
lastMaxEndTime = CurrentEvent EndTime
if NextEvent exists {
if (lastMaxEndTime > NextEvent StartTime) {
overlappingMode = true;
overlappingEvents.add(currentEvent);
lastMaxEndTime = max(lastMaxEndTime, NextEvent EndTime)
}
else {
if (overlappingMode is TRUE) {
redrawOverlappingEvents(overlappingEvents);
overlappingMode = false;
EMPTY overlappingEvents;
}
lastMaxEndTime = NextEvent EndTime
}
}
Delightful Deer