Zend\I18n\Validator\DateTime::setLocale
Sets the locale to be used by the IntlDateFormatter
Signature
public function setLocale(string|null
$locale )
Parameters
$locale
— object
Returns
- DateTime
- provides fluent interface