parsePattern method

  1. @visibleForTesting
  2. @Deprecated('clients should not depend on this internal method')
List<_DateFormatField> parsePattern(
  1. 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();
}