public static String readTimeInput() {
		boolean tryAgain;

		do {
			tryAgain = false;
			timeInput = scan.nextLine();
			
			for(String time: timeInput.split(" ")) {
				if(!time.contains(":")){
					System.out.print("Input is in wrong format! Try again: ");
					tryAgain = true;
					break;
				}
				
				String[] time_hh_mm = time.split(":");
				
				
				if(time_hh_mm.length > 2) {
					System.out.print("Input is in wrong format! Try again: ");
					tryAgain = true;
				}
	
				hour = Integer.parseInt(time_hh_mm[0]);
				minute = Integer.parseInt(time_hh_mm[1]);
	
				if(hour < 0 || hour > 23 || minute < 0 || minute > 59) {
					System.out.print("The time input is invalid! Try again: ");
					tryAgain = true;
					break;
				}
			}
		}while(tryAgain);

		return timeInput;
	}