public static boolean dateIsNotPast(int month, int year) {
        // check sur les dates. En fin d'eliminer ceux qui sont au passé
        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 - 1)) {
            return false;
        } else if (year == (now_year - 1)) {
            if (month != 12) {
                return false;
            }
        } else if (month < (now_month - 1)){
            return false;
        }
        return true;
    }