DateFormatRecognizerExtension extension
An extension for parsing DateFormat
in IntlScriptRecognizer.
Methods
-
constructDateFormat(
Locale? locale, [String? newPattern]) → DateFormat -
Construct
DateFormat.new
by givenlocale
andnewPattern
. -
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.