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