if (ignoreStartTime)
if (useStartTime) el = new UIQuantityScheduleElement(elementStartTime, elementEndTime, quantity); else
  private Vector getScheduleFromProjectionTask(Task projectTask, boolean ignoreStartTime, boolean isInactive) {    Vector schedule = null;    if (projectTask == null) {      System.out.println("UIInventoryImpl WARNING: Project Task is null");      return null;    }    if(!TaskUtils.isProjection(projectTask)) {	System.out.println("UIInventoryImpl WARNING: Expected Project Task.");	return null;    }    double quantity;        Rate r = getProjectionRate(projectTask);    if(r == null) 	quantity = -1;    else	quantity = getDailyQty(r);    if (quantity < 0) {      System.out.println("UIInventoryImpl WARNING: EXPECTED DAILY QTY QUANTITY IN PROJECTION TASK");      return null; // ignore if no quantity    }    long start_time = getPreferredTime(projectTask, AspectType.START_TIME);    if (start_time < 0) {      System.out.println("UIInventoryImpl  WARNING: NO START TIME IN PROJECT TASK");      return null; // ignore if no start time    }    long end_time = getPreferredTime(projectTask, AspectType.END_TIME);    if (end_time < 0) {      System.out.println("UIInventoryImpl  WARNING: NO END TIME IN PROJECT TASK");      return null;      // end_time = start_time; // if no end time, make end = start    }    long elementStartTime=start_time;    long elementEndTime;    while(elementStartTime < end_time) {	elementEndTime = elementStartTime + (TimeUtils.MSEC_PER_DAY-1);	if (elementEndTime > end_time)	    elementEndTime = end_time;	if(schedule == null)	    schedule = new Vector();	// use end time only        UIQuantityScheduleElement el;	if (ignoreStartTime)	    el = new UIQuantityScheduleElement(elementEndTime-1,elementEndTime, quantity);	else	    el = new UIQuantityScheduleElement(elementStartTime, elementEndTime, quantity);        if (isInactive(projectTask, el) == isInactive) {          schedule.add(el);        }	elementStartTime = elementEndTime + 1;    }    return schedule;  }