IntlCalendar::setLenient
Set whether date/time interpretation is to be lenient
Description
Object-oriented style
public true IntlCalendar::setLenient(bool $lenient
)
true intlcal_set_lenient(IntlCalendar $calendar
, bool $lenient
)
Parameters
-
calendar
-
An IntlCalendar instance.
-
lenient
-
Use true
to activate the lenient mode; false
otherwise.
Return Values
Always returns true
.
Examples
See the example in IntlCalendar::isLenient.