コード例 #1
0
ファイル: LocalDateTime.php プロジェクト: brick/date-time
 /**
  * Returns a copy of this LocalDateTime with the nano-of-second altered.
  *
  * @param integer $nano
  *
  * @return LocalDateTime
  */
 public function withNano($nano)
 {
     return $this->with($this->date, $this->time->withNano($nano));
 }