public void updateNewYear()//go to the next year
	{
		ArrayList <Year> years = CalendarProject.getYears();//get the current arraylist of years
		Year newYear = new Year (currentYear.getNumber()+1,CalendarFunctions.nextDay((currentYear.getLastDayOfYear())));//pass in number of the new year and the first day of the year
		years.add(newYear);//add a new year to the list
		ArrayList <Month>list = newYear.getMonths();
		currentYear = newYear;
		currentMonth = list.get(0);
				
	}