You are here

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

Remove a month with no overflow from the instance

Parameters

int $value:

Return value

static

File

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

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function subMonthNoOverflow($value = 1) {
  return $this
    ->subMonthsNoOverflow($value);
}