public static void main(String args[]) {
        Schedule[] schedules = new Schedule[]{};

        while (true) {
            System.out.println("메뉴를 선택하세요!");
            System.out.println("1. 일정 추가하기");
            System.out.println("2. 일정 삭제하기");
            System.out.println("3. 전체 일정 보기");
            System.out.println("4. 종료");
            System.out.print("> ");

            Scanner scanner = new Scanner(System.in);
            int menu = scanner.nextInt();
            System.out.println();

            if (menu == 4) {
                return;
            }

            switch (menu) {
                case 1:
                    System.out.println("일정을 입력하세요!");

                    System.out.print("제목: ");
                    String title = scanner.next();

                    System.out.print("시작 시간: ");
                    Date startDate = inputDate();

                    System.out.print("종료 시간: ");
                    Date endDate = inputDate();

                    Schedule schedule = new Schedule(title, startDate, endDate);

                    try {
                        System.out.println();
                        schedules = ScheduleUtil.addSchedule(schedules, schedule);
                    } catch (Exceptions.SameScheduleExistsException e) {
                        System.out.println(e.getMessage());
                        System.out.println();
                    } catch (Exceptions.IllegalDateFormatException e) {
                        System.out.println(e.getMessage());
                        System.out.println();
                    }

                    break;
                case 2:
                    System.out.println("삭제할 일정의 시간을 입력하세요!");

                    System.out.print("시간: ");
                    Date date = inputDate();

                    try {
                        System.out.println();
                        schedules = ScheduleUtil.removeSchedule(schedules, date);
                    } catch (Exceptions.NoSuchScheduleException e) {
                        System.out.println(e.getMessage());
                        System.out.println();
                    } catch (Exceptions.InputInterruptedException e) {
                        System.out.println(e.getMessage());
                        System.out.println();
                    }

                    break;
                case 3:
                    System.out.println("==전체 일정 목록==");

                    ScheduleUtil.printSchedules(schedules);
                    break;
            }
        }
    }