return forAllAssignments(visitor,TruePredicate.INSTANCE);
}
public void forEachInterval(Closure visitor, Object type, WorkCalendar workCalendar) {
NonGroupedCalculatedValues calculatedValues = new NonGroupedCalculatedValues(false,0);
ListIterator i = assignments.listIterator();
Assignment assignment = null;
while (i.hasNext()) { // add in all child groups
assignment = (Assignment)i.next();
barCallback.setWorkCalendar(assignment.getEffectiveWorkCalendar()); // use this assignments cal because it might work on off calendar time
assignment.calcDataBetween(type,null,calculatedValues);
}
calculatedValues.makeContiguousNonZero(barCallback,workCalendar);
//calculatedValues.dump();
}