private static function CalendarSystemsIntlCalendar::format2pattern in Calendar Systems 8.3
3 calls to CalendarSystemsIntlCalendar::format2pattern()
- CalendarSystemsIntlCalendar::format in src/
CalendarSystems/ CalendarSystemsIntlCalendar.php - CalendarSystemsIntlCalendar::parse in src/
CalendarSystems/ CalendarSystemsIntlCalendar.php - CalendarSystemsIntlCalendar::toGregorian in src/
CalendarSystems/ CalendarSystemsIntlCalendar.php
File
- src/
CalendarSystems/ CalendarSystemsIntlCalendar.php, line 103
Class
Namespace
Drupal\calendar_systems\CalendarSystemsCode
private static function format2pattern($format) {
$rep = preg_replace(self::$remove_pattern, '', $format);
$pat = strtr($rep, self::$php2intl_format_map);
return $pat;
}