コード例 #1
0
ファイル: ZonedDateTime.php プロジェクト: brick/date-time
 /**
  * Returns a copy of this ZonedDateTime with the specified period in weeks added.
  *
  * @param integer $weeks
  *
  * @return ZonedDateTime
  */
 public function plusWeeks($weeks)
 {
     return ZonedDateTime::of($this->localDateTime->plusWeeks($weeks), $this->timeZone);
 }