DateFormatRecognizerExtension extension
An extension for parsing DateFormat
in IntlScriptRecognizer.
Methods
-
constructDateFormat(
Locale? locale, [String? newPattern]) → DateFormat -
Available on IntlScriptRecognizer, provided by the DateFormatRecognizerExtension extension
Construct a newDateFormat
by givenlocale
andnewPattern
. -
constructDateFormatWithPattern(
Locale? locale, DateFormat patternFactory(String? formatted)) → DateFormat -
Available on IntlScriptRecognizer, provided by the DateFormatRecognizerExtension extension
Construct a newDateFormat
with pre-defined format factory Function like below: