dateFormats[i] = new SimpleDateFormat(formatStrings[i], locale); dateFormats[i].setLenient(false);
dateFormats[i+3] = new SimpleDateFormat(formatStrings[i], locale); dateFormats[i+3].setLenient(false);
    protected DateFormat[] getDateFormats() {        String[] formatStrings = getFormatStrings();        DateFormat[] dateFormats = new DateFormat[formatStrings.length];        for (int i=0; i<formatStrings.length; ++i) {            dateFormats[i] = new SimpleDateFormat(formatStrings[i], locale);            dateFormats[i].setLenient(false);        }        return dateFormats;    }