1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5<title>ICU4J API Comparison: ICU4J 54.1.0 with ICU4J 55.1</title> 6<!-- Copyright 2015, IBM, All Rights Reserved. --> 7</head> 8<body> 9<h1>ICU4J API Comparison: ICU4J 54.1.0 with ICU4J 55.1</h1> 10 11<hr/> 12<h2>Removed from ICU4J 54.1.0</h2> 13 14<h3>Package com.ibm.icu.text</h3> 15<ul> 16<li><span style='color:orange'>(draft)</span> public final class <i>ScientificFormatHelper</i></li> 17</ul> 18 19<h3>Package com.ibm.icu.util</h3> 20<ul> 21IslamicCalendar 22<ul> 23<li><span style='color:orange'>(draft)</span> public void <i>setType</i>(IslamicCalendar.CalculationType)</li> 24</ul> 25</ul> 26 27 28<hr/> 29<h2>Deprecated or Obsoleted in ICU4J 55.1</h2> 30 31<h3>Package com.ibm.icu.text</h3> 32<ul> 33IDNA 34<ul> 35<li><span style='color:gray'>(deprecated)</span> public static final int ALLOW_UNASSIGNED</li> 36<li><span style='color:gray'>(deprecated)</span> public static int <i>compare</i>(UCharacterIterator, UCharacterIterator, int)</li> 37<li><span style='color:gray'>(deprecated)</span> public static int <i>compare</i>(java.lang.String, java.lang.String, int)</li> 38<li><span style='color:gray'>(deprecated)</span> public static int <i>compare</i>(java.lang.StringBuffer, java.lang.StringBuffer, int)</li> 39<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertIDNToASCII</i>(UCharacterIterator, int)</li> 40<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertIDNToASCII</i>(java.lang.String, int)</li> 41<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertIDNToASCII</i>(java.lang.StringBuffer, int)</li> 42<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertIDNToUnicode</i>(UCharacterIterator, int)</li> 43<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertIDNToUnicode</i>(java.lang.String, int)</li> 44<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertIDNToUnicode</i>(java.lang.StringBuffer, int)</li> 45<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertToASCII</i>(UCharacterIterator, int)</li> 46<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertToASCII</i>(java.lang.String, int)</li> 47<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertToASCII</i>(java.lang.StringBuffer, int)</li> 48<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertToUnicode</i>(UCharacterIterator, int)</li> 49<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertToUnicode</i>(java.lang.String, int)</li> 50<li><span style='color:gray'>(deprecated)</span> public static java.lang.StringBuffer <i>convertToUnicode</i>(java.lang.StringBuffer, int)</li> 51</ul> 52</ul> 53 54 55<hr/> 56<h2>Changed in ICU4J 55.1 (old, new)</h2> 57<p>(no API changed)</p> 58 59<hr/> 60<h2>Promoted to stable in ICU4J 55.1</h2> 61 62<h3>Package com.ibm.icu.text</h3> 63<ul> 64<li><span style='color:green'>(stable)</span> public final class <i>RelativeDateTimeFormatter</i></li> 65<li><span style='color:green'>(stable)</span> public static enum <i>DateFormat.BooleanAttribute</i></li> 66<li><span style='color:green'>(stable)</span> public static enum <i>MeasureFormat.FormatWidth</i></li> 67<li><span style='color:green'>(stable)</span> public static enum <i>RelativeDateTimeFormatter.AbsoluteUnit</i></li> 68<li><span style='color:green'>(stable)</span> public static enum <i>RelativeDateTimeFormatter.Direction</i></li> 69<li><span style='color:green'>(stable)</span> public static enum <i>RelativeDateTimeFormatter.RelativeUnit</i></li> 70<li><span style='color:green'>(stable)</span> public static enum <i>SearchIterator.ElementComparisonType</i></li> 71<li><span style='color:green'>(stable)</span> public static enum <i>SpoofChecker.RestrictionLevel</i></li> 72BreakIterator 73<ul> 74<li><span style='color:green'>(stable)</span> public static final int WORD_IDEO</li> 75<li><span style='color:green'>(stable)</span> public static final int WORD_IDEO_LIMIT</li> 76<li><span style='color:green'>(stable)</span> public static final int WORD_KANA</li> 77<li><span style='color:green'>(stable)</span> public static final int WORD_KANA_LIMIT</li> 78<li><span style='color:green'>(stable)</span> public static final int WORD_LETTER</li> 79<li><span style='color:green'>(stable)</span> public static final int WORD_LETTER_LIMIT</li> 80<li><span style='color:green'>(stable)</span> public static final int WORD_NONE</li> 81<li><span style='color:green'>(stable)</span> public static final int WORD_NONE_LIMIT</li> 82<li><span style='color:green'>(stable)</span> public static final int WORD_NUMBER</li> 83<li><span style='color:green'>(stable)</span> public static final int WORD_NUMBER_LIMIT</li> 84</ul> 85Collator 86<ul> 87<li><span style='color:green'>(stable)</span> public int <i>getMaxVariable</i>()</li> 88<li><span style='color:green'>(stable)</span> public Collator <i>setMaxVariable</i>(int)</li> 89</ul> 90DateFormat 91<ul> 92<li><span style='color:green'>(stable)</span> public boolean <i>getBooleanAttribute</i>(DateFormat.BooleanAttribute)</li> 93<li><span style='color:green'>(stable)</span> public DisplayContext <i>getContext</i>(DisplayContext.Type)</li> 94<li><span style='color:green'>(stable)</span> public boolean <i>isCalendarLenient</i>()</li> 95<li><span style='color:green'>(stable)</span> public DateFormat <i>setBooleanAttribute</i>(DateFormat.BooleanAttribute, boolean)</li> 96<li><span style='color:green'>(stable)</span> public void <i>setCalendarLenient</i>(boolean)</li> 97<li><span style='color:green'>(stable)</span> public void <i>setContext</i>(DisplayContext)</li> 98</ul> 99DateFormat.BooleanAttribute 100<ul> 101<li><span style='color:green'>(stable)</span> public static final DateFormat.BooleanAttribute PARSE_ALLOW_NUMERIC</li> 102<li><span style='color:green'>(stable)</span> public static final DateFormat.BooleanAttribute PARSE_ALLOW_WHITESPACE</li> 103</ul> 104DateIntervalFormat 105<ul> 106<li><span style='color:green'>(stable)</span> public TimeZone <i>getTimeZone</i>()</li> 107<li><span style='color:green'>(stable)</span> public void <i>setTimeZone</i>(TimeZone)</li> 108</ul> 109MeasureFormat 110<ul> 111<li><span style='color:green'>(stable)</span> public final boolean <i>equals</i>(java.lang.Object)</li> 112<li><span style='color:green'>(stable)</span> public java.lang.StringBuffer <i>format</i>(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)</li> 113<li><span style='color:green'>(stable)</span> public final java.lang.String <i>formatMeasures</i>(Measure...)</li> 114<li><span style='color:green'>(stable)</span> public java.lang.StringBuilder <i>formatMeasures</i>(java.lang.StringBuilder, java.text.FieldPosition, Measure...)</li> 115<li><span style='color:green'>(stable)</span> public static MeasureFormat <i>getInstance</i>(ULocale, MeasureFormat.FormatWidth)</li> 116<li><span style='color:green'>(stable)</span> public static MeasureFormat <i>getInstance</i>(ULocale, MeasureFormat.FormatWidth, NumberFormat)</li> 117<li><span style='color:green'>(stable)</span> public final ULocale <i>getLocale</i>()</li> 118<li><span style='color:green'>(stable)</span> public NumberFormat <i>getNumberFormat</i>()</li> 119<li><span style='color:green'>(stable)</span> public MeasureFormat.FormatWidth <i>getWidth</i>()</li> 120<li><span style='color:green'>(stable)</span> public final int <i>hashCode</i>()</li> 121</ul> 122MeasureFormat.FormatWidth 123<ul> 124<li><span style='color:green'>(stable)</span> public static final MeasureFormat.FormatWidth NARROW</li> 125<li><span style='color:green'>(stable)</span> public static final MeasureFormat.FormatWidth NUMERIC</li> 126<li><span style='color:green'>(stable)</span> public static final MeasureFormat.FormatWidth SHORT</li> 127<li><span style='color:green'>(stable)</span> public static final MeasureFormat.FormatWidth WIDE</li> 128</ul> 129NumberFormat 130<ul> 131<li><span style='color:green'>(stable)</span> public static final int ACCOUNTINGCURRENCYSTYLE</li> 132<li><span style='color:green'>(stable)</span> public DisplayContext <i>getContext</i>(DisplayContext.Type)</li> 133<li><span style='color:green'>(stable)</span> public void <i>setContext</i>(DisplayContext)</li> 134</ul> 135RelativeDateTimeFormatter.AbsoluteUnit 136<ul> 137<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit DAY</li> 138<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit FRIDAY</li> 139<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit MONDAY</li> 140<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit MONTH</li> 141<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit NOW</li> 142<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit SATURDAY</li> 143<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit SUNDAY</li> 144<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit THURSDAY</li> 145<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit TUESDAY</li> 146<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit WEDNESDAY</li> 147<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit WEEK</li> 148<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit YEAR</li> 149</ul> 150RelativeDateTimeFormatter.Direction 151<ul> 152<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.Direction LAST</li> 153<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.Direction LAST_2</li> 154<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.Direction NEXT</li> 155<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.Direction NEXT_2</li> 156<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.Direction PLAIN</li> 157<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.Direction THIS</li> 158</ul> 159RelativeDateTimeFormatter.RelativeUnit 160<ul> 161<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.RelativeUnit DAYS</li> 162<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.RelativeUnit HOURS</li> 163<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.RelativeUnit MINUTES</li> 164<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.RelativeUnit MONTHS</li> 165<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.RelativeUnit SECONDS</li> 166<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.RelativeUnit WEEKS</li> 167<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.RelativeUnit YEARS</li> 168</ul> 169RuleBasedCollator 170<ul> 171<li><span style='color:green'>(stable)</span> public int <i>getMaxVariable</i>()</li> 172<li><span style='color:green'>(stable)</span> public RuleBasedCollator <i>setMaxVariable</i>(int)</li> 173</ul> 174RuleBasedNumberFormat 175<ul> 176<li><span style='color:green'>(stable)</span> public void <i>setContext</i>(DisplayContext)</li> 177</ul> 178SearchIterator 179<ul> 180<li><span style='color:green'>(stable)</span> public SearchIterator.ElementComparisonType <i>getElementComparisonType</i>()</li> 181<li><span style='color:green'>(stable)</span> public void <i>setElementComparisonType</i>(SearchIterator.ElementComparisonType)</li> 182</ul> 183SearchIterator.ElementComparisonType 184<ul> 185<li><span style='color:green'>(stable)</span> public static final SearchIterator.ElementComparisonType ANY_BASE_WEIGHT_IS_WILDCARD</li> 186<li><span style='color:green'>(stable)</span> public static final SearchIterator.ElementComparisonType PATTERN_BASE_WEIGHT_IS_WILDCARD</li> 187<li><span style='color:green'>(stable)</span> public static final SearchIterator.ElementComparisonType STANDARD_ELEMENT_COMPARISON</li> 188</ul> 189SimpleDateFormat 190<ul> 191<li><span style='color:green'>(stable)</span> public void <i>setContext</i>(DisplayContext)</li> 192</ul> 193SpoofChecker.RestrictionLevel 194<ul> 195<li><span style='color:green'>(stable)</span> public static final SpoofChecker.RestrictionLevel ASCII</li> 196<li><span style='color:green'>(stable)</span> public static final SpoofChecker.RestrictionLevel HIGHLY_RESTRICTIVE</li> 197<li><span style='color:green'>(stable)</span> public static final SpoofChecker.RestrictionLevel MINIMALLY_RESTRICTIVE</li> 198<li><span style='color:green'>(stable)</span> public static final SpoofChecker.RestrictionLevel MODERATELY_RESTRICTIVE</li> 199<li><span style='color:green'>(stable)</span> public static final SpoofChecker.RestrictionLevel SINGLE_SCRIPT_RESTRICTIVE</li> 200<li><span style='color:green'>(stable)</span> public static final SpoofChecker.RestrictionLevel UNRESTRICTIVE</li> 201</ul> 202</ul> 203 204<h3>Package com.ibm.icu.util</h3> 205<ul> 206<li><span style='color:green'>(stable)</span> public class <i>ICUCloneNotSupportedException</i></li> 207<li><span style='color:green'>(stable)</span> public class <i>ICUException</i></li> 208<li><span style='color:green'>(stable)</span> public class <i>ICUUncheckedIOException</i></li> 209MeasureUnit 210<ul> 211<li><span style='color:green'>(stable)</span> public static final MeasureUnit ACRE</li> 212<li><span style='color:green'>(stable)</span> public static final MeasureUnit ARC_MINUTE</li> 213<li><span style='color:green'>(stable)</span> public static final MeasureUnit ARC_SECOND</li> 214<li><span style='color:green'>(stable)</span> public static final MeasureUnit CELSIUS</li> 215<li><span style='color:green'>(stable)</span> public static final MeasureUnit CENTIMETER</li> 216<li><span style='color:green'>(stable)</span> public static final MeasureUnit CUBIC_KILOMETER</li> 217<li><span style='color:green'>(stable)</span> public static final MeasureUnit CUBIC_MILE</li> 218<li><span style='color:green'>(stable)</span> public static final MeasureUnit DEGREE</li> 219<li><span style='color:green'>(stable)</span> public static final MeasureUnit FAHRENHEIT</li> 220<li><span style='color:green'>(stable)</span> public static final MeasureUnit FOOT</li> 221<li><span style='color:green'>(stable)</span> public static final MeasureUnit GRAM</li> 222<li><span style='color:green'>(stable)</span> public static final MeasureUnit G_FORCE</li> 223<li><span style='color:green'>(stable)</span> public static final MeasureUnit HECTARE</li> 224<li><span style='color:green'>(stable)</span> public static final MeasureUnit HECTOPASCAL</li> 225<li><span style='color:green'>(stable)</span> public static final MeasureUnit HORSEPOWER</li> 226<li><span style='color:green'>(stable)</span> public static final MeasureUnit INCH</li> 227<li><span style='color:green'>(stable)</span> public static final MeasureUnit INCH_HG</li> 228<li><span style='color:green'>(stable)</span> public static final MeasureUnit KILOGRAM</li> 229<li><span style='color:green'>(stable)</span> public static final MeasureUnit KILOMETER</li> 230<li><span style='color:green'>(stable)</span> public static final MeasureUnit KILOMETER_PER_HOUR</li> 231<li><span style='color:green'>(stable)</span> public static final MeasureUnit KILOWATT</li> 232<li><span style='color:green'>(stable)</span> public static final MeasureUnit LIGHT_YEAR</li> 233<li><span style='color:green'>(stable)</span> public static final MeasureUnit LITER</li> 234<li><span style='color:green'>(stable)</span> public static final MeasureUnit METER</li> 235<li><span style='color:green'>(stable)</span> public static final MeasureUnit METER_PER_SECOND</li> 236<li><span style='color:green'>(stable)</span> public static final MeasureUnit MILE</li> 237<li><span style='color:green'>(stable)</span> public static final MeasureUnit MILE_PER_HOUR</li> 238<li><span style='color:green'>(stable)</span> public static final MeasureUnit MILLIBAR</li> 239<li><span style='color:green'>(stable)</span> public static final MeasureUnit MILLIMETER</li> 240<li><span style='color:green'>(stable)</span> public static final MeasureUnit MILLISECOND</li> 241<li><span style='color:green'>(stable)</span> public static final MeasureUnit OUNCE</li> 242<li><span style='color:green'>(stable)</span> public static final MeasureUnit PICOMETER</li> 243<li><span style='color:green'>(stable)</span> public static final MeasureUnit POUND</li> 244<li><span style='color:green'>(stable)</span> public static final MeasureUnit SQUARE_FOOT</li> 245<li><span style='color:green'>(stable)</span> public static final MeasureUnit SQUARE_KILOMETER</li> 246<li><span style='color:green'>(stable)</span> public static final MeasureUnit SQUARE_METER</li> 247<li><span style='color:green'>(stable)</span> public static final MeasureUnit SQUARE_MILE</li> 248<li><span style='color:green'>(stable)</span> public static final MeasureUnit WATT</li> 249<li><span style='color:green'>(stable)</span> public static final MeasureUnit YARD</li> 250<li><span style='color:green'>(stable)</span> public boolean <i>equals</i>(java.lang.Object)</li> 251<li><span style='color:green'>(stable)</span> public static synchronized java.util.Set<MeasureUnit> <i>getAvailable</i>()</li> 252<li><span style='color:green'>(stable)</span> public static synchronized java.util.Set<MeasureUnit> <i>getAvailable</i>(java.lang.String)</li> 253<li><span style='color:green'>(stable)</span> public static synchronized java.util.Set<java.lang.String> <i>getAvailableTypes</i>()</li> 254<li><span style='color:green'>(stable)</span> public java.lang.String <i>getSubtype</i>()</li> 255<li><span style='color:green'>(stable)</span> public java.lang.String <i>getType</i>()</li> 256<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li> 257<li><span style='color:green'>(stable)</span> public java.lang.String <i>toString</i>()</li> 258</ul> 259ULocale 260<ul> 261<li><span style='color:green'>(stable)</span> public int <i>compareTo</i>(ULocale)</li> 262</ul> 263</ul> 264 265 266<hr/> 267<h2>Added in ICU4J 55.1</h2> 268 269<h3>Package com.ibm.icu.text</h3> 270<ul> 271<li><span style='color:orange'>(draft)</span> public static class <i>LocaleDisplayNames.UiListItem</i></li> 272<li><span style='color:orange'>(draft)</span> public final class <i>ScientificNumberFormatter</i></li> 273DateFormat 274<ul> 275<li><span style='color:orange'>(draft)</span> public static final int TIME_SEPARATOR</li> 276</ul> 277DateFormat.Field 278<ul> 279<li><span style='color:orange'>(draft)</span> public static final DateFormat.Field TIME_SEPARATOR</li> 280</ul> 281DateFormatSymbols 282<ul> 283<li><span style='color:orange'>(draft)</span> public java.lang.String <i>getTimeSeparatorString</i>()</li> 284<li><span style='color:orange'>(draft)</span> public void <i>setTimeSeparatorString</i>(java.lang.String)</li> 285</ul> 286LocaleDisplayNames 287<ul> 288<li><span style='color:orange'>(draft)</span> public java.util.List<LocaleDisplayNames.UiListItem> <i>getUiList</i>(java.util.Set<ULocale>, boolean, java.util.Comparator<java.lang.Object>)</li> 289<li><span style='color:orange'>(draft)</span> public abstract java.util.List<LocaleDisplayNames.UiListItem> <i>getUiListCompareWholeItems</i>(java.util.Set<ULocale>, java.util.Comparator<LocaleDisplayNames.UiListItem>)</li> 290</ul> 291MeasureFormat 292<ul> 293<li><span style='color:orange'>(draft)</span> public java.lang.StringBuilder <i>formatMeasurePerUnit</i>(Measure, MeasureUnit, java.lang.StringBuilder, java.text.FieldPosition)</li> 294</ul> 295</ul> 296 297<h3>Package com.ibm.icu.util</h3> 298<ul> 299IslamicCalendar 300<ul> 301<li><span style='color:orange'>(draft)</span> public IslamicCalendar.CalculationType <i>getCalculationType</i>()</li> 302<li><span style='color:orange'>(draft)</span> public void <i>setCalculationType</i>(IslamicCalendar.CalculationType)</li> 303</ul> 304LocaleData.MeasurementSystem 305<ul> 306<li><span style='color:green'>(stable)</span> public static final LocaleData.MeasurementSystem UK</li> 307</ul> 308</ul> 309 310<hr/> 311<p><i><font size="-1">Contents generated by ReportAPI tool on Wed Mar 11 16:14:07 EDT 2015<br/>Copyright (C) 2015, International Business Machines Corporation, All Rights Reserved.</font></i></p> 312</body> 313</html> 314