lib/Util/TimeUnit.php
public function toDestUnit(float $time, string $destUnit = null, string $mode = null)
    {
        return self::convert($time, $this->sourceUnit, $this->getDestUnit($destUnit), $this->getMode($mode));
    }
public function toDestUnit(float $time, string $destUnit = null, string $mode = null)
    {
        return self::convert($time, $this->sourceUnit, $this->getDestUnit($destUnit), $this->getMode($mode));
    }
public function toDestUnit ( float $ time , string $ destUnit = null , string $ mode = null ) { return self :: convert ( $ time , $ this -> sourceUnit , $ this -> getDestUnit ( $ destUnit ) , $ this -> getMode ( $ mode ) ) ; }
Convert instance value to given unit.
Convert instance value to given unit .