static boolean timetableByStation(ObjectOutputStream toServer, ObjectInputStream fromServer, Scanner scanner) throws IOException, ClassNotFoundException {
        log.debug("Start \"timetableByStation\" method");
        List<String> listAllStation = listStations(toServer, fromServer);
        DateFormat dateFormat = new SimpleDateFormat("dd.MM.yyyy HH:mm");
        if (listAllStation == null) {
            return false;
        }
        String station;
        do {
            System.out.println("Departure station:");
            station = scanner.next().toLowerCase();
        }
        while (!listAllStation.contains(station));

        ScheduleRequestInfo req = new ScheduleRequestInfo(station);
        log.debug("Send ScheduleRequestInfo to server");
        toServer.writeObject(req);

        Object o = fromServer.readObject();
        if (o instanceof RespondInfo) {
            if (((RespondInfo) o).getStatus() == RespondInfo.SERVER_ERROR_STATUS) {
                System.out.println("Server error");
                log.debug("Server error");
                return false;
            } else if (o instanceof ScheduleRespondInfo) {
                ScheduleRespondInfo respond = (ScheduleRespondInfo) o;
                log.debug("Received ScheduleRespondInfo from server");

                System.out.println("Train name --- Departure time");
                for (ScheduleRespondInfo.TrainInfo info : respond.getTrains()) {
                    System.out.println(info.getTrainName() + " --- " + dateFormat.format(info.getDeparture()));
                }
                return true;
            }
        }
        log.error("Unknown object type");
        return false;
    }