src/ZonedDateTime.php
public function withNano(int $nano) : ZonedDateTime
    {
        return ZonedDateTime::of($this->localDateTime->withNano($nano), $this->timeZone);
    }
public function withNano(int $nano) : ZonedDateTime
    {
        return ZonedDateTime::of($this->localDateTime->withNano($nano), $this->timeZone);
    }
public function withNano ( int $ nano ) : ZonedDateTime { return ZonedDateTime :: of ( $ this -> localDateTime -> withNano ( $ nano ) , $ this -> timeZone ) ; }
Returns a copy of this ZonedDateTime with the nano-of-second altered.

@param int $nano

@return ZonedDateTime
Returns a copy of this ZonedDateTime with the nano - of - second altered .