ICU-6157 Fixed compilation error on Java 1.3/Foundation 1.0 - replaced single arg Locale constructor with ULocale.

X-SVN-Rev: 24270
This commit is contained in:
Yoshito Umaoka 2008-06-22 15:29:49 +00:00
parent 97b84b35bb
commit 9c2ffe6540

View File

@ -24,6 +24,7 @@ import com.ibm.icu.util.Calendar;
import com.ibm.icu.util.DateInterval;
import com.ibm.icu.text.DateIntervalInfo;
import com.ibm.icu.text.DateIntervalFormat;
import com.ibm.icu.util.ULocale;
public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
@ -613,7 +614,7 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
int i = 1;
while (i<data_length) {
String locName = data[i++];
Locale loc = new Locale(locName);
ULocale loc = new ULocale(locName);
SimpleDateFormat ref = new SimpleDateFormat(data[0], loc);
// 'f'
String datestr = data[i++];
@ -707,7 +708,7 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
int i = 1;
while (i<data_length) {
String locName = data[i++];
Locale loc = new Locale(locName);
ULocale loc = new ULocale(locName);
SimpleDateFormat ref = new SimpleDateFormat(data[0], loc);
// 'f'
String datestr = data[i++];
@ -782,7 +783,7 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
int i = 1;
while (i<data_length) {
String locName = data[i++];
Locale loc = new Locale(locName);
ULocale loc = new ULocale(locName);
SimpleDateFormat ref = new SimpleDateFormat(data[0], loc);
// 'f'
String datestr = data[i++];