code: protected DateFormat.Field patternCharToDateFormatField(char ch) {
          int patternCharIndex = getIndexFromChar(ch);
          if (patternCharIndex != -1) {
              return PATTERN_INDEX_TO_DATE_FORMAT_ATTRIBUTE[patternCharIndex];
          }
          return null;
      }
docs: Returns a DateFormat.Field constant associated with the specified format pattern
  character.
  
  @param ch The pattern character
  @return DateFormat.Field associated with the pattern character