mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-4354 comment out the indirection and fix the main code
X-SVN-Rev: 18145
This commit is contained in:
parent
a685ae1380
commit
213b08e722
2 changed files with 5 additions and 1 deletions
|
@ -1151,6 +1151,9 @@ TimeZone::createCustomTimeZone(const UnicodeString& id)
|
|||
|
||||
UErrorCode success = U_ZERO_ERROR;
|
||||
numberFormat = NumberFormat::createInstance(success);
|
||||
if(U_FAILURE(success)){
|
||||
return NULL;
|
||||
}
|
||||
numberFormat->setParseIntegerOnly(TRUE);
|
||||
|
||||
|
||||
|
|
|
@ -799,7 +799,7 @@ void TimeZoneTest::TestCustomParse()
|
|||
{
|
||||
UnicodeString id(kData[i].customId);
|
||||
int32_t exp = kData[i].expectedOffset;
|
||||
|
||||
/*
|
||||
{ // for no data test Jitterbug 4354
|
||||
UErrorCode success = U_ZERO_ERROR;
|
||||
NumberFormat* numberFormat = NumberFormat::createInstance(success);
|
||||
|
@ -809,6 +809,7 @@ void TimeZoneTest::TestCustomParse()
|
|||
}
|
||||
delete numberFormat;
|
||||
}
|
||||
*/
|
||||
|
||||
TimeZone *zone = TimeZone::createTimeZone(id);
|
||||
UnicodeString itsID, temp;
|
||||
|
|
Loading…
Add table
Reference in a new issue