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