Iterator i = schedule.subSchedules.iterator();
while (i.hasNext()) {
EVSchedule s = (EVSchedule) i.next();
sum.addInterval(s.getMetrics().getCostConfidenceInterval());
}
sum.intervalsComplete();
// System.out.println("created " + sum.samples.size() + " cost samples");
// sum.debugPrint(5);
schedule.getMetrics().setCostConfidenceInterval(sum);
schedule.getMetrics().setTimeErrConfidenceInterval(null);
schedule.getMetrics().setDateConfidenceInterval(null);