public function Carbon::isWeekday in Persian Date for Drupal 8 8.4
Determines if the instance is a weekday
Return value
bool
1 call to Carbon::isWeekday()
- Carbon::nextOrPreviousDay in src/
Library/ Carbon/ Carbon.php - Go forward or backward to the next week- or weekend-day.
File
- src/
Library/ Carbon/ Carbon.php, line 1666
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function isWeekday() {
return !$this
->isWeekend();
}