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