@@ -482,39 +482,39 @@ public function plusMonths(int $months): ZonedDateTime
482482 */
483483 public function plusWeeks (int $ weeks ): ZonedDateTime
484484 {
485- return ZonedDateTime::of ($ this ->localDateTime -> plusWeeks ($ weeks ), $ this ->timeZone );
485+ return ZonedDateTime::ofInstant ($ this ->instant -> plusDays ($ weeks * 7 ), $ this ->timeZone );
486486 }
487487
488488 /**
489489 * Returns a copy of this ZonedDateTime with the specified period in days added.
490490 */
491491 public function plusDays (int $ days ): ZonedDateTime
492492 {
493- return ZonedDateTime::of ($ this ->localDateTime ->plusDays ($ days ), $ this ->timeZone );
493+ return ZonedDateTime::ofInstant ($ this ->instant ->plusDays ($ days ), $ this ->timeZone );
494494 }
495495
496496 /**
497497 * Returns a copy of this ZonedDateTime with the specified period in hours added.
498498 */
499499 public function plusHours (int $ hours ): ZonedDateTime
500500 {
501- return ZonedDateTime::of ($ this ->localDateTime ->plusHours ($ hours ), $ this ->timeZone );
501+ return ZonedDateTime::ofInstant ($ this ->instant ->plusHours ($ hours ), $ this ->timeZone );
502502 }
503503
504504 /**
505505 * Returns a copy of this ZonedDateTime with the specified period in minutes added.
506506 */
507507 public function plusMinutes (int $ minutes ): ZonedDateTime
508508 {
509- return ZonedDateTime::of ($ this ->localDateTime ->plusMinutes ($ minutes ), $ this ->timeZone );
509+ return ZonedDateTime::ofInstant ($ this ->instant ->plusMinutes ($ minutes ), $ this ->timeZone );
510510 }
511511
512512 /**
513513 * Returns a copy of this ZonedDateTime with the specified period in seconds added.
514514 */
515515 public function plusSeconds (int $ seconds ): ZonedDateTime
516516 {
517- return ZonedDateTime::of ($ this ->localDateTime ->plusSeconds ($ seconds ), $ this ->timeZone );
517+ return ZonedDateTime::ofInstant ($ this ->instant ->plusSeconds ($ seconds ), $ this ->timeZone );
518518 }
519519
520520 /**
0 commit comments