if (earliestDemand != Long.MAX_VALUE) firstDayOfDemand_ = convertTimeToDay(earliestDemand);
    public int withdrawFromInventory(Inventory inventory, ClusterIdentifier clusterID) {	Enumeration role_sched = inventory.getRoleSchedule().getRoleScheduleElements();	while (role_sched.hasMoreElements()) {	    PlanElement pe = (PlanElement)role_sched.nextElement();	    Task task = pe.getTask();	    if (task.getVerb().equals(Constants.Verb.WITHDRAW)) {		addDueOut(task);	    } else if (task.getVerb().equals(Constants.Verb.PROJECTWITHDRAW)) {		addDueOutProjection(task);	    } else {		System.err.println("What the .... Task added to role schedule "+TaskUtils.taskDesc(task));	    }	}	return 0;    }