throw SupportMessages.MESSAGES.invalidParamsForCellProcessor(name, params);
}
current = previous == null ? new ParseChar() : new ParseChar((DoubleCellProcessor) previous);
} else if (name.equalsIgnoreCase("ParseDate")) {
if (params.length == 1) { //dateFormat
current = previous == null ? new ParseDate(params[0]) : new ParseDate(params[0], (DateCellProcessor) previous);
} else if (params.length == 2) { //dateFormat, lenient
current = previous == null ? new ParseDate(params[0], Boolean.parseBoolean(params[1])) :
new ParseDate(params[0], Boolean.parseBoolean(params[1]), (DateCellProcessor) previous);
} else if (params.length == 3) { //dateFormat, lenient, locale
current = previous == null ? new ParseDate(params[0], Boolean.parseBoolean(params[1]), new Locale(params[2])) :
new ParseDate(params[0], Boolean.parseBoolean(params[1]), new Locale(params[2]), (DateCellProcessor) previous);
} else {
throw SupportMessages.MESSAGES.invalidParamsForCellProcessor(name, params);
}
} else if (name.equalsIgnoreCase("ParseDouble")) {
if (params.length == 0) {