public function getPreviousRun()
    {
        if ($this->previousRun != null) {
            return \DateTime::createFromFormat(ScheduleExpression::DATE_FORMAT, $this->previousRun);
        }
    }
public function getPreviousRun()
    {
        if ($this->previousRun != null) {
            return \DateTime::createFromFormat(ScheduleExpression::DATE_FORMAT, $this->previousRun);
        }
    }
public function getPreviousRun ( ) { if ( $ this -> previousRun != null ) { return \ DateTime :: createFromFormat ( ScheduleExpression :: DATE_FORMAT , $ this -> previousRun ) ; } }
Returns the previous run date.

@return \DateTime|null The previous run date
Returns the previous run date .