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