}
InsertionRequirements requirements = InsertionRequirements.create(
current, newStart, newEnd);
GapOnQueue gap = Gap.untilEnd(current, newStart).onQueue(
current.getLimitingResourceQueue());
AllocationSpec result = requirements.guessValidity(gap);
assert result.isValid();
return result;
}
private DateAndHour getStartFrom(AllocationSpec previous,