You are here

public function Carbon::addDay in Persian Date for Drupal 8 8.4

Add a day to the instance

Parameters

int $value:

Return value

static

2 calls to Carbon::addDay()
Carbon::endOfWeek in src/Library/Carbon/Carbon.php
Resets the date to end of week (defined in $weekEndsAt) and time to 23:59:59
Carbon::nextOrPreviousDay in src/Library/Carbon/Carbon.php
Go forward or backward to the next week- or weekend-day.

File

src/Library/Carbon/Carbon.php, line 2287

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function addDay($value = 1) {
  return $this
    ->addDays($value);
}