public function DatexIntlCalendar::__construct in Datex 8
Overrides DatexPartialImplementation::__construct
File
- src/
Datex/ DatexIntlCalendar.php, line 11
Class
Namespace
Drupal\datex\DatexCode
public function __construct($tz, $calendar, $lang_code) {
parent::__construct($tz, $calendar, $lang_code);
$this->locale = $lang_code . '@calendar=' . $calendar;
$this->intlFormatter = self::intl($this->timezone, $this->locale);
}