public function Carbon::isFuture in Persian Date for Drupal 8 8.4
Determines if the instance is in the future, ie. greater (after) than now
Return value
bool
File
- src/
Library/ Carbon/ Carbon.php, line 1776
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function isFuture() {
return $this
->gt(static::now($this
->getTimezone()));
}