public function setArrivalDate(\DateTime $arrivalDate)
    {
        $this->arrivalDate = ($arrivalDate->format('dmy') !== '000000') ? $arrivalDate->format('dmy') : null;
        $time = $arrivalDate->format('Hi');
        if ($time !== '0000') {
            $this->arrivalTime = $time;
        }
    }
public function setArrivalDate(\DateTime $arrivalDate)
    {
        $this->arrivalDate = ($arrivalDate->format('dmy') !== '000000') ? $arrivalDate->format('dmy') : null;
        $time = $arrivalDate->format('Hi');
        if ($time !== '0000') {
            $this->arrivalTime = $time;
        }
    }
public function setArrivalDate ( \ DateTime $ arrivalDate ) { $ this -> arrivalDate = ( $ arrivalDate -> format ( 'dmy' ) !== '000000' ) ? $ arrivalDate -> format ( 'dmy' ) : null ; $ time = $ arrivalDate -> format ( 'Hi' ) ; if ( $ time !== '0000' ) { $ this -> arrivalTime = $ time ; } }
Load Arrival date info from \DateTime

@param \DateTime $arrivalDate
Load Arrival date info from \ DateTime