private void deleteFromCalendar() {
    System.out.println("Which event would you like to delete?\n");
    // Capture event title and event date and time from user input
    ArrayList eventInfo = uniquelyIdentifyEvent();
    String eventTitle = (String) eventInfo.get(0);
    LocalDateTime eventDateTime = (LocalDateTime) eventInfo.get(1);

    // Fetch the event from the calendar
    Event event = calendar.findEvent(eventTitle, eventDateTime);
    if (event == null) {
      System.out.println("    Event not found. Try again");

    calendar.removeEvent(eventTitle, eventDateTime);
    System.out.printf("The following event has been removed: %s\n", event);