mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 04:29:31 +00:00
ICU-1733 Don't need to call this function.
X-SVN-Rev: 8215
This commit is contained in:
parent
65e867f1b2
commit
910fc5468f
1 changed files with 0 additions and 2 deletions
|
@ -1343,7 +1343,6 @@ void
|
|||
CalendarTest::doYEAR_WOYLoop(Calendar *cal, SimpleDateFormat *sdf,
|
||||
int32_t times, UErrorCode& errorCode) {
|
||||
|
||||
char s[100];
|
||||
UnicodeString us;
|
||||
UDate tst, original;
|
||||
Calendar *tstres = new GregorianCalendar(Locale::GERMANY, errorCode);
|
||||
|
@ -1362,7 +1361,6 @@ CalendarTest::doYEAR_WOYLoop(Calendar *cal, SimpleDateFormat *sdf,
|
|||
sdf->format(Formattable(tst,Formattable::kIsDate), us, errorCode);
|
||||
//logln("got: "+us);
|
||||
if (U_FAILURE(errorCode)) { errln("Get time error"); return; }
|
||||
s[us.extract(0, us.length(), s)]=0;
|
||||
if(original!=tst) {
|
||||
us.remove();
|
||||
sdf->format(Formattable(original, Formattable::kIsDate), us, errorCode);
|
||||
|
|
Loading…
Add table
Reference in a new issue