allocationAttempt.getBeingModified().markAsUnsatisfied();
receiver.cantFulfill(allocationAttempt, capacityResult);
}
};
IntraDayDate result = allocator.untilAllocating(toAllocate);
if (result == null) {
// allocation could not be done
return direction == Direction.FORWARD ? task
.getIntraDayEndDate() : task.getIntraDayStartDate();
}