mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 04:29:31 +00:00
ICU-11677 Fixed spelling of NUMEIRC_FORMAT_CHARS2, removed duplicate M from "ceLMMQq"
X-SVN-Rev: 37605
This commit is contained in:
parent
3d77fc18b8
commit
a0ba3e423d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue