parsePattern method
- @visibleForTesting
- @Deprecated('clients should not depend on this internal method')
- String pattern
Parse the template pattern and return a list of field objects.
Implementation
@visibleForTesting
@Deprecated('clients should not depend on this internal method')
// ignore: library_private_types_in_public_api
List<_DateFormatField> parsePattern(String pattern) {
return _parsePatternHelper(pattern).reversed.toList();
}