private int totDays(int days){
	int years = days/365;
	int remDays = days%365;
	int totDays = years*365;
	if(years>0){
	    for (int n=0;n<=years;n++){
		if (isLeap(this.getYear()+n)){
		    totDays++;
		}
	    }
	}
	else if(years<0){
	    for (int n = years; n<=0;n++){
		if(isLeap(this.getYear()-n)){
		    totDays--;
		}
	    }
	}
	totDays += remDays;
	return totDays;
    }