code: private static final boolean isNumeric(char formatChar, int count) {
          return NUMERIC_FORMAT_CHARS.indexOf(formatChar) >= 0
                  || (count <= 2 && NUMERIC_FORMAT_CHARS2.indexOf(formatChar) >= 0);
      }
docs: Return true if the given format character, occuring count
  times, represents a numeric field.