private Integer findNext(String date, TreeSet<Integer> dates) {
        int givenDate = Integer.parseInt(date.split("/")[0] + date.split("/")[1]);
        for (Integer integer : dates) {
            if (integer == givenDate || integer > givenDate)
                return integer;
        }
        return 0;
    }