Пример #1
0
 /**
  * Returns a copy of this LocalDateTime with the specified period in years added.
  *
  * @param integer $years
  *
  * @return LocalDateTime
  */
 public function plusYears($years)
 {
     return $this->with($this->date->plusYears($years), $this->time);
 }