Vector projectSchedule = getScheduleFromProjectionTask(task, true, isInactive);
Vector projectSchedule = getScheduleFromProjectionTask(task, !ignoreStartTime, isInactive);
  public void addRequestedDueInSchedule(Allocation allocation) {    Task task = allocation.getTask();    if (task == null) {      System.out.println("UIInventoryImpl WARNING: no task in due-in allocation");      return;    }    double quantity=-1;    long startTime = getPreferredTime(task, AspectType.START_TIME);    long endTime = getPreferredTime(task, AspectType.END_TIME);        if (TaskUtils.isProjection(task)) {      for (int i = 0; i < 2; i++) {        boolean isInactive = (i == 0);	Vector projectSchedule = getScheduleFromProjectionTask(task, true, isInactive);	if (projectSchedule != null) {          if (isInactive)	    inactiveProjectedRequestedDueInSchedule.addAll(projectSchedule);          else	    projectedRequestedDueInSchedule.addAll(projectSchedule);        }      }      return;    }    quantity  = getPreferenceValue(task, AspectType.QUANTITY);    // must have start time and quantity    if ((quantity != -1) && (startTime != -1)) {       if (endTime == -1)	endTime = startTime;      // use end time only      UIQuantityScheduleElement se =  	new UIQuantityScheduleElement(endTime-1, endTime, quantity);//        if (debug) {//  	  System.out.println("Adding requested due in schedule from task: " + //  			     task.getUID());//  	  printQuantityScheduleElement(se);//        }      if (isInactive(task, se))        inactiveRequestedDueInSchedule.add(se);      else        requestedDueInSchedule.add(se);    }  }