private void createReservation() {
		final String DATE_FORMAT = "dd/MM/yyyy";
		final String TIME_FORMAT = "HH:mm";
		Scanner sc = new Scanner(System.in);
		Calendar calTime = Calendar.getInstance();
		String pax;
		String cstName;
		String dateStr, timeStr;
		String[] date, time;
		boolean isValid = false;
		do {
			System.out.print("Please enter the date(DD/MM/YYYY):");
			dateStr = sc.next();
			isValid = validateDate(dateStr, DATE_FORMAT);
			if (!isValid)
				System.out.println("It's not a valid date! Please try again.");
		} while (!isValid);
		date = dateStr.split("/");
		do {
			System.out.print("Please enter the time(HH:MM):");
			timeStr = sc.next();
			isValid = validateDate(timeStr, TIME_FORMAT);
			if (!isValid)
				System.out.println("It's not a valid time! Please try again.");
		} while (!isValid);
		time = timeStr.split(":");
		calTime.set(new Integer(date[2]), new Integer(date[1]) - 1,
				new Integer(date[0]), new Integer(time[0]),
				new Integer(time[1]));
		do {
			System.out.print("Please enter the pax:");
			pax = sc.next();
			isValid = validatePax(pax);
			if (!isValid)
				System.out
						.println("It's not a valid pax number! Please try again.");
		} while (!isValid);
		System.out.print("Please enter the customer name:");
		String buffer = sc.nextLine();
		cstName = sc.nextLine();
		Reservation reservation = new Reservation(calTime, new Integer(pax),
				cstName);
		boolean isExpired = reservationManager
				.isReservationExpired(reservation);
		if (isExpired) {
			System.out.println("Reservation is not created. It is expired.");
		} else {
			boolean isAssigned = reservationManager.assignTable(reservation);
			if (isAssigned) {
				System.out
						.println("Reservation has been successfully created!");
				reservationManager.getReservations().add(reservation);
				System.out.println("Your reservation:");
				System.out.println(reservation.toString());
			} else {
				System.out
						.println("Reservation is not created. No table is available!");
			}
		}
	}