public int addFutureMeeting(Set<Contact> contacts, Calendar date) {

		try {
			if (date.getTime().before(theCalendar.getTime())) {

				throw new IllegalArgumentException(
						"The time entered was in the past!");
			}

			if (date.getTime().after(theCalendar.getTime())) {
				MeetingImpl newFuture = new FutureMeetingImpl(meetingID, date,
						contacts);

				meetingList.add(newFuture);

				addMeetingtoContacts(contacts, newFuture);

				meetingID++;
				System.out.println("");
				System.out
						.println("Your new meeting has been added, its ID is "
								+ newFuture.getID());
				System.out.println("");

				return newFuture.getID();
			}
		} catch (IllegalArgumentException ex) {
			System.out
					.println("The date entered was not in the correct format!");
		}
		return 0;
	}