System.out.println(">>>UpdateDetailedContentSchedule ");
  public int updateDetailedContentSchedule(Inventory inventory) {    if (!isStartTimeSet)      return -1;    if (level_ == null) {      determineInventoryLevels();    }    if (level_ == null)       return -1;    System.out.println(">>>UpdateDetailedContentSchedule ");    int days = level_.length;    updateLevels(days - 1); // Be sure we have all the days computed.    Vector quantity_schedule_elements = new Vector();    for (int i = 0; i < days; i++) {      quantity_schedule_elements = createDailyScheduleElements(quantity_schedule_elements, i);    }    Schedule sched = GLMFactory.newQuantitySchedule(quantity_schedule_elements.elements(), PlanScheduleType.TOTAL_INVENTORY);    if (ScheduleUtils.isOffendingSchedule(sched)) {      GLMDebug.ERROR("InventoryBG", "UpdateContentSchedule(),  CREATED BAD SCHEDULE ");    }    NewDetailedScheduledContentPG newDetailedPG =        org.cougaar.domain.glm.ldm.asset.PropertyGroupFactory.newDetailedScheduledContentPG();    newDetailedPG.setSchedule(sched);    inventory.setPropertyGroup(newDetailedPG);    printDetailedSchedule(sched);    return 0;  }