ICU-10065 Delete redundant LOW_K row in dtTypes[]

X-SVN-Rev: 34262
This commit is contained in:
Peter Edberg 2013-09-10 21:29:14 +00:00
parent a6e8bf3f32
commit 33c679b135
2 changed files with 1 additions and 2 deletions

View File

@ -184,7 +184,6 @@ static const dtTypeElem dtTypes[] = {
{LOW_K, UDATPG_HOUR_FIELD, DT_NUMERIC + 11*DT_DELTA, 1, 2}, // 24 hour
{LOW_H, UDATPG_HOUR_FIELD, DT_NUMERIC, 1, 2}, // 12 hour
{CAP_K, UDATPG_HOUR_FIELD, DT_NUMERIC + DT_DELTA, 1, 2}, // 12 hour
{LOW_K, UDATPG_HOUR_FIELD, DT_NUMERIC + DT_DELTA, 1, 2},
{LOW_M, UDATPG_MINUTE_FIELD, DT_NUMERIC, 1, 2},
{LOW_S, UDATPG_SECOND_FIELD, DT_NUMERIC, 1, 2},
{CAP_S, UDATPG_FRACTIONAL_SECOND_FIELD, DT_NUMERIC + DT_DELTA, 1, 1000},

View File

@ -1009,7 +1009,7 @@ void IntlTestDateTimePatternGeneratorAPI::testAllFieldPatterns(/*char *par*/)
UChar c = pattern.charAt(patIndx);
if (c == 0x27) {
inQuoted = !inQuoted;
} else if (!inQuoted && c <= 0x007A &&c >= 0x0041) {
} else if (!inQuoted && c <= 0x007A && c >= 0x0041) {
if (mustIncludeOneOf.indexOf(c) >= 0) {
break;
}