public function Carbon::endOfYear in Persian Date for Drupal 8 8.4
Resets the date to end of the year and time to 23:59:59
Return value
static
File
- src/
Library/ Carbon/ Carbon.php, line 2955
Class
- Carbon
- A simple API extension for DateTime
Namespace
Drupal\persian_date\Library\CarbonCode
public function endOfYear() {
return $this
->setDateTime($this->year, 12, 31, 23, 59, 59);
}