예제 #1
0
 /**
  * Returns a copy of this ZonedDateTime with the day-of-month altered.
  *
  * @param integer $day
  *
  * @return ZonedDateTime
  */
 public function withDay($day)
 {
     return ZonedDateTime::of($this->localDateTime->withDay($day), $this->timeZone);
 }