public RosterAvailability checkAvailability (Date d) {
	
		DateFormat df = new SimpleDateFormat("dd.MM.YYYY");
		String refDate = df.format(d);

		for (RosterAvailability r: rosterAvailability) {
	
			String rDate = df.format(r.getDate());
			if (refDate.equals(rDate))
				return r;
		}
		return null;
		
	}