Пример #1
0
 /**
  * Returns a copy of this ZonedDateTime with the month-of-year altered.
  *
  * @param integer $month
  *
  * @return ZonedDateTime
  */
 public function withMonth($month)
 {
     return ZonedDateTime::of($this->localDateTime->withMonth($month), $this->timeZone);
 }