public function formatDateTimeWithCustomPattern(\DateTimeInterface $dateTime, $format, Locale $locale)
    {
        return $this->doFormattingWithParsedFormat($dateTime, $this->datesReader->parseCustomFormat($format), $this->datesReader->getLocalizedLiteralsForLocale($locale));
    }