long start = TimeUtils.addNDaysTime(getStartTime(), 0); long end = TimeUtils.addNDaysTime(getStartTime(), 30); Schedule sched = ScheduleUtils.buildSimpleQuantitySchedule(getDouble(myPG_.getInitialLevel()), start, end);
  public int updateDetailedContentSchedule(Inventory inventory) {    if (!isStartTimeSet)      return -1;    NewDetailedScheduledContentPG newDetailedPG =        org.cougaar.domain.glm.ldm.asset.PropertyGroupFactory.newDetailedScheduledContentPG();    long start = TimeUtils.addNDaysTime(getStartTime(), 0);    long end = TimeUtils.addNDaysTime(getStartTime(), 30);    Schedule sched =       ScheduleUtils.buildSimpleQuantitySchedule(getDouble(myPG_.getInitialLevel()), start, end);    newDetailedPG.setSchedule(sched);    inventory.setPropertyGroup(newDetailedPG);    System.out.println("Update Detailed Content Schedule.");    return 0;  }