public function handleParseDate($event)
    {
        if ($event->getResult() === null) {
            /** @var Date $dateAdapter */
            $dateAdapter = $this->framework->getAdapter(Date::class);
            $event->setResult($dateAdapter->parse($event->getFormat(), $event->getTimestamp()));
        }
    }
public function handleParseDate($event)
    {
        if ($event->getResult() === null) {
            /** @var Date $dateAdapter */
            $dateAdapter = $this->framework->getAdapter(Date::class);
            $event->setResult($dateAdapter->parse($event->getFormat(), $event->getTimestamp()));
        }
    }
public function handleParseDate ( $ event ) { if ( $ event -> getResult ( ) === null ) { /** @var Date $dateAdapter */ $ dateAdapter = $ this -> framework -> getAdapter ( Date :: class ) ; $ event -> setResult ( $ dateAdapter -> parse ( $ event -> getFormat ( ) , $ event -> getTimestamp ( ) ) ) ; } }
Handle the date parsing.

@param ParseDateEvent $event The event.

@return void
Handle the date parsing .