/**
* Sets the locale option
*
* @param string|Zend_Locale $locale
* @return Zend_Validate_Date provides a fluent interface
*/
public function setLocale($locale = null
) { if ($locale !== false
) { $locale = Zend_Locale::
findLocale($locale);
if (strlen($locale) < 4
) { throw new Zend_Validate_Exception('Region must be given for IBAN validation'
);
} } $this->_locale =
$locale;
return $this;
} /**
* Defined by Zend_Validate_Interface
*
* Returns true if $value is a valid IBAN
*
* @param string $value
* @return boolean
*/