private static function CalendarSystemsIntlCalendar::intl in Calendar Systems 8.3
1 call to CalendarSystemsIntlCalendar::intl()
- CalendarSystemsIntlCalendar::__construct in src/
CalendarSystems/ CalendarSystemsIntlCalendar.php
File
- src/
CalendarSystems/ CalendarSystemsIntlCalendar.php, line 79
Class
Namespace
Drupal\calendar_systems\CalendarSystemsCode
private static function intl($tz, $locale) {
$none = IntlDateFormatter::NONE;
$tz = IntlTimeZone::fromDateTimeZone($tz);
$cal = IntlDateFormatter::TRADITIONAL;
return new IntlDateFormatter($locale, $none, $none, $tz, $cal);
}