You are here

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

Remove a century from the instance

Parameters

int $value:

Return value

static

File

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

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function subCentury($value = 1) {
  return $this
    ->subCenturies($value);
}