public void setLenient (boolean lenient)

Specify whether or not date/time parsing is to be lenient. With lenient parsing, the parser may use heuristics to interpret inputs that do not precisely match this object's format. With strict parsing, inputs must match this object's format.

This method is equivalent to the following call.


 getCalendar().setLenient(lenient)
 

This leniency value is overwritten by a call to setCalendar().

Parameters:
lenient    when true, parsing is lenient

See also:
java.util.Calendar.setLenient(boolean)