class DateUtils {

	public static Date getLastDayOfYear(Date date) {
		
		Calendar lastDayOfYear = Calendar.getInstance();
		lastDayOfYear.setTime(DateUtils.getLastDayOfMonth(date));
		lastDayOfYear.set(Calendar.MONTH, lastDayOfYear.getMaximum(Calendar.MONTH));
		
		return lastDayOfYear.getTime();
	}

}