IntlCalendar::setLenient
Set whether date/time interpretation is to be lenient
Description
Object oriented style
public ReturnType IntlCalendar::setLenient
( string $isLenient
)
ReturnType intlcal_set_lenient
( IntlCalendar $cal
, string $isLenient
)
Parameters
-
cal
-
The IntlCalendar resource.
-
isLenient
-
Use TRUE
to activate the lenient mode; FALSE
otherwise.
Return Values
Returns TRUE
on success. Failure can only happen due to invalid parameters.
Examples
See the example in IntlCalendar::isLenient.