DateFormatRecognizerExtension extension

An extension for parsing DateFormat in IntlScriptRecognizer.

on

Methods

constructDateFormat(Locale? locale, [String? newPattern]) → DateFormat
Construct DateFormat.new by given locale and newPattern.
constructDateFormatWithPattern(Locale? locale, DateFormatPatternFactory patternFactory) → DateFormat
Construct a new DateFormat with pre-defined format factory Function like below:
dateFormatFromContext(BuildContext context, [String? newPattern]) → DateFormat
Construct DateFormat.new with resolveFromContext.
dateFormatWithPatternFromContext(BuildContext context, DateFormatPatternFactory patternFactory) → DateFormat
Construct DateFormat with pre-defined pattern.