public function Carbon::previousWeekday in Persian Date for Drupal 8 8.4
Go backward to the previous weekday.
Return value
$this
File
- src/
Library/ Carbon/ Carbon.php, line 3089
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function previousWeekday() {
return $this
->nextOrPreviousDay(true, false);
}