You are here

public function DatexPoorMansGregorianCalendar::copy in Datex 8

Overrides DatexInterface::copy

File

src/Datex/DatexPoorMansGregorianCalendar.php, line 26
Fallback calendar implementation in case php-intl is not available.

Class

DatexPoorMansGregorianCalendar

Namespace

Drupal\datex\Datex

Code

public function copy() {
  return new DatexPoorMansGregorianCalendar($this->timezone, $this->langCode);
}