public function DatexObject::getDateobjClone in Datex 7
Returns a clone of internal DateTime object.
Cloned object always contains Gregorian date converted from jalali date given to DatexObject.
1 call to DatexObject::getDateobjClone()
- DatexObject::difference in datex_api/
datex_api_classes.inc - Returns amount of time difference to another date object.
File
- datex_api/
datex_api_classes.inc, line 705 - API and helper functions used by other datex modules.
Class
- DatexObject
- This class is Jalali equivilant of php DateTime. It also has some functionallity from object defiend in Drupal's date module DateObject.
Code
public function getDateobjClone() {
return clone $this->dateobj;
}