if (day > wdrawSwitchOverDay_) {
PrepositionalPhrase pp =task.getPrepositionalPhrase(Constants.Preposition.REFILL); if ((day > wdrawSwitchOverDay_) || (pp == null)) {
    public double getProjectionWeight(Task task, int imputedDay) {	// because ProjectSupply tasks span a long time period, their start time is not	//  useful for deteriming when to credit them -- for withdrawals, we have created	//  ProjectWithdraw tasks, but for refill tasks we are passing in the raw ProjectSupply	//  tasks (this is a lonnng story)	Verb task_verb = task.getVerb();	int day = imputedDay;	double weight = 0.0;		if (noProjections_) {	    return getSupplyTaskWeight(task);	} else {	    if (task_verb.equals(Constants.Verb.SUPPLY)) {		if(day > refillSwitchOverDay_){		    weight = 0.0;		} else {		    weight = 1.0;		}	    } else if (task_verb.equals(Constants.Verb.PROJECTSUPPLY)) {		if(day > refillSwitchOverDay_){		    weight = 1.0;		} else {		    weight = 0.0;		}	    } else if (task_verb.equals(Constants.Verb.PROJECTWITHDRAW)) {		if (day > wdrawSwitchOverDay_) {		    weight = 1.0;		} else {		    weight = 0.0;		}	    } else if (task_verb.equals(Constants.Verb.WITHDRAW)) {		if (day > wdrawSwitchOverDay_) {		    weight = 0.0;		} else {		    weight = 1.0;		}	    }	}	return weight;    }