$error->logBadDateError( $str ) if (ErrorTracking::invalidDate( $str ))