/** * Returns a new Date object by adding the specified number of months to the current one. * * @param integer $value Number of months to be added. * * @return Date * * @since 2.0.0 */ public function addMonths($value) { return new static($this->datetime->addMonths($value)); }