IntlDatePatternGenerator::create

IntlDatePatternGenerator::__construct

Creates a new IntlDatePatternGenerator instance

Description

public static IntlDatePatternGeneratornull IntlDatePatternGenerator::create(stringnull $locale = null)
public IntlDatePatternGenerator::__construct(stringnull $locale = null)

Creates a new IntlDatePatternGenerator instance.

Parameters

locale

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

Return Values

Returns an IntlDatePatternGenerator instance on success, or null on failure.