IntlDatePatternGenerator::create

IntlDatePatternGenerator::__construct

Creates a new IntlDatePatternGenerator instance

&reftitle.description; public static ``IntlDatePatternGenerator``null```IntlDatePatternGenerator::create` ``string``null```locale`&null; public `IntlDatePatternGenerator::__construct` ``string``null```locale`&null;

Creates a new `IntlDatePatternGenerator` instance.

&reftitle.parameters;

`locale`

- The locale. If &null; is passed, uses the ini setting intl.default_locale.

&reftitle.returnvalues;

Returns an `IntlDatePatternGenerator` instance on success, or &null; on failure.