lib/models/DataInterfaceLog.php
public function getEstimateTimeRemaining()
    {
        $estimatedDuration = $this->dataInterface->estimateDuration();
        if ($estimatedDuration) {
            $startedTime = strtotime($this->started);
            $estimatedEndTime = $startedTime + $estimatedDuration;
            if (time() > $estimatedEndTime) {
                return false;
            }

            return $estimatedEndTime - time();
        }

        return false;
    }
public function getEstimateTimeRemaining()
    {
        $estimatedDuration = $this->dataInterface->estimateDuration();
        if ($estimatedDuration) {
            $startedTime = strtotime($this->started);
            $estimatedEndTime = $startedTime + $estimatedDuration;
            if (time() > $estimatedEndTime) {
                return false;
            }

            return $estimatedEndTime - time();
        }

        return false;
    }
public function getEstimateTimeRemaining ( ) { $ estimatedDuration = $ this -> dataInterface -> estimateDuration ( ) ; if ( $ estimatedDuration ) { $ startedTime = strtotime ( $ this -> started ) ; $ estimatedEndTime = $ startedTime + $ estimatedDuration ; if ( time ( ) > $ estimatedEndTime ) { return false ; } return $ estimatedEndTime - time ( ) ; } return false ; }
Get estimate time remaining.

@return [[@doctodo return_type:getEstimateTimeRemaining]] [[@doctodo return_description:getEstimateTimeRemaining]]
Get estimate time remaining .