public function time(Distance $dist)
    {
        return Time::sec(($dist->m / $this->dist->m) * $this->time->sec);
    }
public function time(Distance $dist)
    {
        return Time::sec(($dist->m / $this->dist->m) * $this->time->sec);
    }
public function time ( Distance $ dist ) { return Time :: sec ( ( $ dist -> m / $ this -> dist -> m ) * $ this -> time -> sec ) ; }
Calculates the time required to travel the provided distance at the
velocity of this instance.

@param Distance $dist

@return Time
Calculates the time required to travel the provided distance at the velocity of this instance .