DateFormatRecognizerExtension extension

An extension for parsing DateFormat in IntlScriptRecognizer.

on

Methods

constructDateFormat(Locale? locale, [String? newPattern]) → DateFormat

Available on IntlScriptRecognizer, provided by the DateFormatRecognizerExtension extension

Construct a new DateFormat by given locale and newPattern.
constructDateFormatWithPattern(Locale? locale, DateFormat patternFactory(String? formatted)) → DateFormat

Available on IntlScriptRecognizer, provided by the DateFormatRecognizerExtension extension

Construct a new DateFormat with pre-defined format factory Function like below: