/** * 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); }
/** * 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); }