public function CalendarSystemsIntlCalendar::setDateLocale in Calendar Systems 8.3
Overrides CalendarSystemsInterface::setDateLocale
File
- src/
CalendarSystems/ CalendarSystemsIntlCalendar.php, line 86
Class
Namespace
Drupal\calendar_systems\CalendarSystemsCode
public function setDateLocale($y, $m, $d) {
$y = intval($y);
$m = intval($m);
$d = intval($d);
list($gy, $gm, $gd) = $this
->toGregorian($this->intlFormatter, $this->timezone, $y, $m, $d);
parent::xSetDate($gy, $gm, $gd);
return $this;
}