protected function DatexObject::setIsLeap in Datex 7.2
Call extended class isLeap and set isLeap on object instance,
2 calls to DatexObject::setIsLeap()
- DatexObject::formatPHP in datex_api/
datex_api.class.inc - Use php to format date
- DatexObject::reset in datex_api/
datex_api.class.inc - When new date or time is set on object, This method must be called.
File
- datex_api/
datex_api.class.inc, line 814 - Provides an API to work with dates.
Class
- DatexObject
- Base class for localized DateTime.
Code
protected function setIsLeap() {
$this->isLeap = $this
->isLeap($this->year);
return $this;
}