public function Carbon::isCurrentYear in Persian Date for Drupal 8 8.4
Determines if the instance is in the current year
Return value
bool
File
- src/
Library/ Carbon/ Carbon.php, line 1833
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function isCurrentYear() {
return $this
->isSameYear();
}