src/ConcurrentPhpUtils/TimeUnit.php
public function toNanos($d)
    {
        $v = $this->getValue();
        return $this->x($d, $this->{'c'.$v}/$this->c0, PHP_INT_MAX/($this->{'c'.$v}/$this->c0));
    }
public function toNanos($d)
    {
        $v = $this->getValue();
        return $this->x($d, $this->{'c'.$v}/$this->c0, PHP_INT_MAX/($this->{'c'.$v}/$this->c0));
    }
public function toNanos ( $ d ) { $ v = $ this -> getValue ( ) ; return $ this -> x ( $ d , $ this -> { 'c' . $ v } / $ this -> c0 , PHP_INT_MAX / ( $ this -> { 'c' . $ v } / $ this -> c0 ) ) ; }
Convert to nanos

@param int $d
@return int
Convert to nanos