private ArrayList<ArrayList<Event>> getCalendarEntries(int weekNumber) {
		ArrayList<ArrayList<Event>> calendarEntries = new ArrayList<ArrayList<Event>>();
		ArrayList<User> activeCalendars = guicontroller.getActiveCalendars();
		for(User otheruser:user.getImportedCalendars()) {
			if(activeCalendars.contains(otheruser)){  //Checks if the calendar is active				
				ArrayList<Event> otherUsersCalendar = new ArrayList<Event>();
				for(Event event:otheruser.getEvents()) {
					if(event.getStartTime().after(startOfWeek) && event.getStartTime().before(endOfWeek)) { //Checks if the event is in the right week
						otherUsersCalendar.add(event);  //Adds the event
					}
				}
				calendarEntries.add(otherUsersCalendar); //Adds the list with the users events that week
			}
		}
		return calendarEntries;
	}