ICU-11677 Fixed spelling of NUMEIRC_FORMAT_CHARS2, removed duplicate M from "ceLMMQq"

X-SVN-Rev: 37605
This commit is contained in:
Peter Edberg 2015-06-22 22:18:31 +00:00
parent 3d77fc18b8
commit a0ba3e423d

View file

@ -2151,7 +2151,7 @@ public class SimpleDateFormat extends DateFormat {
* Format characters that indicate numeric fields when pattern lengh
* is up to 2.
*/
private static final String NUMEIRC_FORMAT_CHARS2 = "ceLMMQq";
private static final String NUMERIC_FORMAT_CHARS2 = "ceLMQq";
/**
* Return true if the given format character, occuring count
@ -2159,7 +2159,7 @@ public class SimpleDateFormat extends DateFormat {
*/
private static final boolean isNumeric(char formatChar, int count) {
return NUMERIC_FORMAT_CHARS.indexOf(formatChar) >= 0
|| (count <= 2 && NUMEIRC_FORMAT_CHARS2.indexOf(formatChar) >= 0);
|| (count <= 2 && NUMERIC_FORMAT_CHARS2.indexOf(formatChar) >= 0);
}
/**