IntlDatePatternGenerator
class IntlDatePatternGenerator (View source)
Methods
__construct(string|null $locale = null)
Creates a new IntlDatePatternGenerator instance
static IntlDatePatternGenerator|null
create(string|null $locale = null)
Creates a new IntlDatePatternGenerator instance
string|false
getBestPattern(string $skeleton)
Determines the most suitable date/time format
Details
__construct(string|null $locale = null)
Creates a new IntlDatePatternGenerator instance
static IntlDatePatternGenerator|null
create(string|null $locale = null)
Creates a new IntlDatePatternGenerator instance
string|false
getBestPattern(string $skeleton)
Determines the most suitable date/time format
Determines which date/time format is most suitable for a particular locale.