public static Date[] getHolidays(int year) {
		Set<Date> days = getHolidaySet(year);
		Date[] dates = days.toArray(new Date[days.size()]);
		Arrays.sort(dates);
		return dates;
	}
public static Date [ ] getHolidays ( int year ) { Set < Date > days = getHolidaySet ( year ) ; Date [ ] dates = days . toArray ( new Date [ days . size ( ) ] ) ; Arrays . sort ( dates ) ; return dates ; }
Return a sorted array of holidays for a given year.

@param year
The year to get holidays for.
@return The array of holidays, sorted by date.