ScheduleType.TOTAL_INVENTORY);
PlanScheduleType.TOTAL_INVENTORY);
    public int clearContentSchedule(Inventory inventory) {	ScheduledContentPG scp = inventory.getScheduledContentPG();	Schedule sched = scp.getSchedule();	QuantityScheduleElement qse;	Vector new_elements = new Vector();	long start = TimeUtils.addNDaysTime(getStartTime(), 0);	long end = TimeUtils.addNDaysTime(getStartTime(), 30);		qse = ScheduleUtils.buildQuantityScheduleElement(getDouble(myPG_.getInitialLevel()), start, end);	new_elements.add(qse);	Schedule new_schedule = ALPFactory.newQuantitySchedule(new_elements.elements(), 							       ScheduleType.TOTAL_INVENTORY);	if (ScheduleUtils.isOffendingSchedule(new_schedule)) {	    GLMDebug.ERROR("InventoryBG", "UpdateContentSchedule(),  CREATED BAD SCHEDULE "); 	    printQuantityScheduleTimes(new_schedule);	}	((NewScheduledContentPG)scp).setSchedule(new_schedule);	return 0;     }