IntlCalendar::setLenient
(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)
IntlCalendar::setLenient — Set whether date/time interpretation is to be lenient
Description
Object-oriented style
public function IntlCalendar::setLenient(
bool $lenient):
true
Parameters
calendar
-
An IntlCalendar instance.
lenient
-
Use true to activate the lenient mode; false otherwise.
Return Values
Always returns true.