final protected function parseDate(Crawler $node): ?DateTime
    {
        $content = $this->parseString($node);

        if (null !== $content) {
            return new DateTime($content);
        }

        return null;
    }
final protected function parseDate(Crawler $node): ?DateTime
    {
        $content = $this->parseString($node);

        if (null !== $content) {
            return new DateTime($content);
        }

        return null;
    }
final protected function parseDate ( Crawler $ node ) : ? DateTime { $ content = $ this -> parseString ( $ node ) ; if ( null !== $ content ) { return new DateTime ( $ content ) ; } return null ; }
Parses a date note.

@param Crawler $node

@return DateTime|null
Parses a date note .