public function Carbon::subCenturies in Persian Date for Drupal 8 8.4
Remove centuries from the instance
Parameters
int $value:
Return value
static
1 call to Carbon::subCenturies()
- Carbon::subCentury in src/
Library/ Carbon/ Carbon.php - Remove a century from the instance
File
- src/
Library/ Carbon/ Carbon.php, line 2103
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function subCenturies($value) {
return $this
->addCenturies(-1 * $value);
}