You are here

public function CalendarSystemsIntlCalendar::format in Calendar Systems 8.3

Overrides CalendarSystemsInterface::format

1 call to CalendarSystemsIntlCalendar::format()
CalendarSystemsIntlCalendar::parse in src/CalendarSystems/CalendarSystemsIntlCalendar.php

File

src/CalendarSystems/CalendarSystemsIntlCalendar.php, line 130

Class

CalendarSystemsIntlCalendar

Namespace

Drupal\calendar_systems\CalendarSystems

Code

public function format($format) {
  $this->intlFormatter
    ->setPattern(static::format2pattern($format));
  return $this
    ->formatHook($format, $this->intlFormatter
    ->format($this
    ->getTimestamp()));
}