return 0; }
  private int printQuantityScheduleTimes(Schedule sched) {    Enumeration elements = sched.getAllScheduleElements();    QuantityScheduleElement qse;    while (elements.hasMoreElements()) {      qse = (QuantityScheduleElement)elements.nextElement();      if (logger.isInfoEnabled()) {        logger.info("qty: "+qse.getQuantity()+                    " "+qse.getStartDate()+" to "+ qse.getEndDate());      }    }    return 0;  }