public function Carbon::isNextMonth in Persian Date for Drupal 8 8.4
Determines if the instance is within the next month
Return value
bool
File
- src/
Library/ Carbon/ Carbon.php, line 1736
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function isNextMonth() {
return $this->month === static::now($this
->getTimezone())
->addMonthNoOverflow()->month;
}