ICU-6800 JDK1.3 support

X-SVN-Rev: 25665
This commit is contained in:
Yoshito Umaoka 2009-03-27 15:14:57 +00:00
parent 081579bc90
commit bf1acb61a5

View File

@ -374,7 +374,7 @@ public class DateTimePatternGenerator implements Freezable, Cloneable {
}
// if skeleton contains meta hour field 'j', then
// replace it with the default hour format char
skeleton = Utility.replaceAll(skeleton, "j", Character.toString(defaultHourFormatChar));
skeleton = Utility.replaceAll(skeleton, "j", String.valueOf(defaultHourFormatChar));
current.set(skeleton, fp);
String best = getBestRaw(current, -1, _distanceInfo);