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