Calendar.setLenient

Calendar.setLenient

Class Overview | Class Members | This Package | All Packages

Syntax
public void setLenient( boolean lenient )
Description
Specify whether or not date/time interpretation is to be lenient. With lenient interpretation, a date such as "February 942, 1996" will be treated as being equivalent to the 941st day after February 1, 1996. With strict interpretation, such dates will cause an exception to be thrown.

See Also
setLenient