*/
private void buildTasksLoadsRectangles(List/*<Load>*/ partition, int ypos) {
LinkedList/*<Offset>*/ offsets = getOffsets();
Iterator/*<Load>*/ loads = partition.iterator();
while (loads.hasNext() && offsets.getFirst()!=null) {
final Load nextLoad = (Load) loads.next();
final Date nextStart = nextLoad.startDate;
final Date nextEnd = nextLoad.endDate;
Rectangle nextRect = createRectangle(offsets, nextStart, nextEnd, ypos);
if (nextRect==null) {