IntlDatePatternGenerator::createInstance

Creates a flexible generator according to the data for a given locale

public static function createInstance(
  string $locale,
): IntlDatePatternGenerator;

Parameters

  • string $locale - Data will be loaded into the generator for the locale specified.

Returns