public DateTimePlus::hasErrors()
Detects if there were errors in the processing of this date.
bool TRUE if there were errors in the processing of this date, FALSE otherwise.
public function hasErrors() { return (boolean) count($this->errors); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Datetime!DateTimePlus.php/function/DateTimePlus::hasErrors/8.1.x