public static boolean dateIsNotFuture(int month, int year) {
        // check sur les dates. En fin d'eliminer ceux qui sont au future

        Date now = new Date();
        int now_array[] = formatDateString(now);
        int now_month = now_array[1];
        int now_year = now_array[2];
        if (year > now_year) {
            return false;
        } else if (year == now_year) {
            if (month >= now_month){
                return false;
            }
          }
        return true;

    }