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