public function DatexPoorMansJaliliCalendar::copy in Datex 8
Creates a clone of this object.
Overrides DatexInterface::copy
File
- src/
Datex/ DatexPoorMansJaliliCalendar.php, line 45 - Fallback calendar implementation in case php-intl is not avaiable.
Class
- DatexPoorMansJaliliCalendar
- Jalali calendar for datex.
Namespace
Drupal\datex\DatexCode
public function copy() {
return new DatexPoorMansJaliliCalendar($this->timezone, $this->langCode);
}