blob: c47a1d8e05bb6c9b728f87de866badd7e3351676 [file] [log] [blame]
Fredrik Roubert7935b182014-11-18 20:21:54 -08001<!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">
Nikita Iashchenko9d411ba2020-03-04 15:42:42 +00005<!-- © 2020 and later: Unicode, Inc. and others. -->
Victor Chang978167a2021-01-18 17:56:33 +00006<!-- License & terms of use: http://www.unicode.org/copyright.html -->
7<title>ICU4J API Comparison: ICU4J 67.1 with ICU4J 68.1</title>
Fredrik Roubert7935b182014-11-18 20:21:54 -08008</head>
9<body>
Victor Chang978167a2021-01-18 17:56:33 +000010<h1>ICU4J API Comparison: ICU4J 67.1 with ICU4J 68.1</h1>
Fredrik Roubert7935b182014-11-18 20:21:54 -080011
12<hr/>
Victor Chang978167a2021-01-18 17:56:33 +000013<h2>Removed from ICU4J 67.1</h2>
14<p>(no API removed)</p>
Fredrik Roubert9d0914b2018-06-21 14:30:32 +020015
16<hr/>
Victor Chang978167a2021-01-18 17:56:33 +000017<h2>Deprecated or Obsoleted in ICU4J 68.1</h2>
Nikita Iashchenkoebc670d2020-01-02 14:35:08 +000018<p>(no API obsoleted)</p>
Nikita Iashchenkoda0990f2019-06-13 19:36:45 +010019
20<hr/>
Victor Chang978167a2021-01-18 17:56:33 +000021<h2>Changed in ICU4J 68.1 (old, new)</h2>
Victor Chang82493902020-12-23 17:27:56 +000022
Victor Chang978167a2021-01-18 17:56:33 +000023<h3>Package com.ibm.icu.util</h3>
Victor Chang82493902020-12-23 17:27:56 +000024<ul>
Victor Chang978167a2021-01-18 17:56:33 +000025<li> <span style='color:orange'>(draft)</span> public class <i>NoUnit</i> extends com.ibm.icu.util.MeasureUnit</br>
26<span style='color:orange'>(draft)</span> public final class <i>NoUnit</i> extends java.lang.Object</li>
27NoUnit
28<ul>
29<li> <span style='color:orange'>(draft)</span> public static final com.ibm.icu.util.NoUnit BASE</br>
30<span style='color:orange'>(draft)</span> public static final com.ibm.icu.util.MeasureUnit BASE</li>
31<li> <span style='color:orange'>(draft)</span> public static final com.ibm.icu.util.NoUnit PERCENT</br>
32<span style='color:orange'>(draft)</span> public static final com.ibm.icu.util.MeasureUnit PERCENT</li>
33<li> <span style='color:orange'>(draft)</span> public static final com.ibm.icu.util.NoUnit PERMILLE</br>
34<span style='color:orange'>(draft)</span> public static final com.ibm.icu.util.MeasureUnit PERMILLE</li>
35</ul>
Victor Chang82493902020-12-23 17:27:56 +000036</ul>
37
Victor Chang4578a1c2018-10-22 04:26:58 +010038
39<hr/>
Victor Chang978167a2021-01-18 17:56:33 +000040<h2>Promoted to stable in ICU4J 68.1</h2>
41
42<h3>Package com.ibm.icu.text</h3>
43<ul>
44RelativeDateTimeFormatter.AbsoluteUnit
45<ul>
46<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit HOUR</li>
47<li><span style='color:green'>(stable)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit MINUTE</li>
48</ul>
49</ul>
50
51<h3>Package com.ibm.icu.util</h3>
52<ul>
53<li><span style='color:green'>(stable)</span> public static final class <i>LocaleMatcher.Builder</i></li>
54<li><span style='color:green'>(stable)</span> public static final class <i>LocaleMatcher.Result</i></li>
55<li><span style='color:green'>(stable)</span> public static enum <i>LocaleMatcher.Demotion</i></li>
56<li><span style='color:green'>(stable)</span> public static enum <i>LocaleMatcher.FavorSubtag</i></li>
57<li><span style='color:green'>(stable)</span> public static enum <i>ULocale.AvailableType</i></li>
58LocaleMatcher
59<ul>
60<li><span style='color:green'>(stable)</span> public static LocaleMatcher.Builder <i>builder</i>()</li>
61<li><span style='color:green'>(stable)</span> public java.util.Locale <i>getBestLocale</i>(java.lang.Iterable&lt;java.util.Locale&gt;)</li>
62<li><span style='color:green'>(stable)</span> public java.util.Locale <i>getBestLocale</i>(java.util.Locale)</li>
63<li><span style='color:green'>(stable)</span> public LocaleMatcher.Result <i>getBestLocaleResult</i>(java.lang.Iterable&lt;java.util.Locale&gt;)</li>
64<li><span style='color:green'>(stable)</span> public LocaleMatcher.Result <i>getBestLocaleResult</i>(java.util.Locale)</li>
65<li><span style='color:green'>(stable)</span> public LocaleMatcher.Result <i>getBestMatchResult</i>(ULocale)</li>
66<li><span style='color:green'>(stable)</span> public LocaleMatcher.Result <i>getBestMatchResult</i>(java.lang.Iterable&lt;ULocale&gt;)</li>
67</ul>
68LocaleMatcher.Demotion
69<ul>
70<li><span style='color:green'>(stable)</span> public static final LocaleMatcher.Demotion NONE</li>
71<li><span style='color:green'>(stable)</span> public static final LocaleMatcher.Demotion REGION</li>
72</ul>
73LocaleMatcher.FavorSubtag
74<ul>
75<li><span style='color:green'>(stable)</span> public static final LocaleMatcher.FavorSubtag LANGUAGE</li>
76<li><span style='color:green'>(stable)</span> public static final LocaleMatcher.FavorSubtag SCRIPT</li>
77</ul>
78LocalePriorityList
79<ul>
80<li><span style='color:green'>(stable)</span> public java.util.Set&lt;ULocale&gt; <i>getULocales</i>()</li>
81</ul>
82MeasureUnit
83<ul>
84<li><span style='color:green'>(stable)</span> public static final MeasureUnit BAR</li>
85<li><span style='color:green'>(stable)</span> public static final MeasureUnit DECADE</li>
86<li><span style='color:green'>(stable)</span> public static final MeasureUnit DOT_PER_CENTIMETER</li>
87<li><span style='color:green'>(stable)</span> public static final MeasureUnit DOT_PER_INCH</li>
88<li><span style='color:green'>(stable)</span> public static final MeasureUnit EM</li>
89<li><span style='color:green'>(stable)</span> public static final MeasureUnit MEGAPIXEL</li>
90<li><span style='color:green'>(stable)</span> public static final MeasureUnit PASCAL</li>
91<li><span style='color:green'>(stable)</span> public static final MeasureUnit PIXEL</li>
92<li><span style='color:green'>(stable)</span> public static final MeasureUnit PIXEL_PER_CENTIMETER</li>
93<li><span style='color:green'>(stable)</span> public static final MeasureUnit PIXEL_PER_INCH</li>
94<li><span style='color:green'>(stable)</span> public static final MeasureUnit THERM_US</li>
95</ul>
96ULocale
97<ul>
98<li><span style='color:green'>(stable)</span> public static java.util.Collection&lt;ULocale&gt; <i>getAvailableLocalesByType</i>(ULocale.AvailableType)</li>
99</ul>
100ULocale.AvailableType
101<ul>
102<li><span style='color:green'>(stable)</span> public static final ULocale.AvailableType DEFAULT</li>
103<li><span style='color:green'>(stable)</span> public static final ULocale.AvailableType ONLY_LEGACY_ALIASES</li>
104<li><span style='color:green'>(stable)</span> public static final ULocale.AvailableType WITH_LEGACY_ALIASES</li>
105</ul>
106</ul>
107
108
109<hr/>
110<h2>Added in ICU4J 68.1</h2>
Nikita Iashchenkoebc670d2020-01-02 14:35:08 +0000111
Victor Chang82493902020-12-23 17:27:56 +0000112<h3>Package com.ibm.icu.number</h3>
113<ul>
114FormattedNumber
115<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000116<li><span style='color:orange'>(draft)</span> public MeasureUnit <i>getOutputUnit</i>()</li>
Victor Chang82493902020-12-23 17:27:56 +0000117</ul>
Victor Chang978167a2021-01-18 17:56:33 +0000118NumberFormatterSettings
Victor Chang82493902020-12-23 17:27:56 +0000119<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000120<li><span style='color:orange'>(draft)</span> public T extends NumberFormatterSettings&lt;?&gt; <i>usage</i>(java.lang.String)</li>
Victor Chang82493902020-12-23 17:27:56 +0000121</ul>
122</ul>
Victor Chang4578a1c2018-10-22 04:26:58 +0100123
Victor Chang82493902020-12-23 17:27:56 +0000124<h3>Package com.ibm.icu.text</h3>
Victor Chang4578a1c2018-10-22 04:26:58 +0100125<ul>
Victor Chang82493902020-12-23 17:27:56 +0000126DateIntervalFormat
Victor Chang4578a1c2018-10-22 04:26:58 +0100127<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000128<li><span style='color:orange'>(draft)</span> public DisplayContext <i>getContext</i>(DisplayContext.Type)</li>
129<li><span style='color:orange'>(draft)</span> public void <i>setContext</i>(DisplayContext)</li>
Victor Chang4578a1c2018-10-22 04:26:58 +0100130</ul>
Victor Chang82493902020-12-23 17:27:56 +0000131DecimalFormat
Victor Chang4578a1c2018-10-22 04:26:58 +0100132<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000133<li><span style='color:orange'>(draft)</span> public static final int MINIMUM_GROUPING_DIGITS_AUTO</li>
134<li><span style='color:orange'>(draft)</span> public static final int MINIMUM_GROUPING_DIGITS_MIN2</li>
Victor Chang82493902020-12-23 17:27:56 +0000135</ul>
136PluralRules
137<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000138<li><span style='color:orange'>(draft)</span> public java.lang.String <i>select</i>(FormattedNumberRange)</li>
Victor Chang4578a1c2018-10-22 04:26:58 +0100139</ul>
140</ul>
141
142<h3>Package com.ibm.icu.util</h3>
143<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000144<li><span style='color:orange'>(draft)</span> public class <i>ICUInputTooLongException</i></li>
145<li><span style='color:orange'>(draft)</span> public static enum <i>MeasureUnit.Complexity</i></li>
146<li><span style='color:orange'>(draft)</span> public static enum <i>MeasureUnit.SIPrefix</i></li>
147LocaleMatcher
Victor Chang4578a1c2018-10-22 04:26:58 +0100148<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000149<li><span style='color:orange'>(draft)</span> public boolean <i>isMatch</i>(ULocale, ULocale)</li>
150<li><span style='color:orange'>(draft)</span> public boolean <i>isMatch</i>(java.util.Locale, java.util.Locale)</li>
Victor Chang82493902020-12-23 17:27:56 +0000151</ul>
152LocaleMatcher.Builder
153<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000154<li><span style='color:orange'>(draft)</span> public LocaleMatcher.Builder <i>setMaxDistance</i>(ULocale, ULocale)</li>
155<li><span style='color:orange'>(draft)</span> public LocaleMatcher.Builder <i>setMaxDistance</i>(java.util.Locale, java.util.Locale)</li>
156<li><span style='color:orange'>(draft)</span> public LocaleMatcher.Builder <i>setNoDefaultLocale</i>()</li>
Victor Chang82493902020-12-23 17:27:56 +0000157</ul>
Victor Chang978167a2021-01-18 17:56:33 +0000158MeasureUnit
Victor Chang82493902020-12-23 17:27:56 +0000159<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000160<li><span style='color:orange'>(draft)</span> public static final MeasureUnit CANDELA</li>
161<li><span style='color:orange'>(draft)</span> public static final MeasureUnit DESSERT_SPOON</li>
162<li><span style='color:orange'>(draft)</span> public static final MeasureUnit DESSERT_SPOON_IMPERIAL</li>
163<li><span style='color:orange'>(draft)</span> public static final MeasureUnit DOT</li>
164<li><span style='color:orange'>(draft)</span> public static final MeasureUnit DRAM</li>
165<li><span style='color:orange'>(draft)</span> public static final MeasureUnit DROP</li>
166<li><span style='color:orange'>(draft)</span> public static final MeasureUnit EARTH_RADIUS</li>
167<li><span style='color:orange'>(draft)</span> public static final MeasureUnit GRAIN</li>
168<li><span style='color:orange'>(draft)</span> public static final MeasureUnit JIGGER</li>
169<li><span style='color:orange'>(draft)</span> public static final MeasureUnit LUMEN</li>
170<li><span style='color:orange'>(draft)</span> public static final MeasureUnit PINCH</li>
171<li><span style='color:orange'>(draft)</span> public static final MeasureUnit QUART_IMPERIAL</li>
172<li><span style='color:orange'>(draft)</span> public static MeasureUnit <i>forIdentifier</i>(java.lang.String)</li>
173<li><span style='color:orange'>(draft)</span> public MeasureUnit.Complexity <i>getComplexity</i>()</li>
174<li><span style='color:orange'>(draft)</span> public int <i>getDimensionality</i>()</li>
175<li><span style='color:orange'>(draft)</span> public java.lang.String <i>getIdentifier</i>()</li>
176<li><span style='color:orange'>(draft)</span> public MeasureUnit.SIPrefix <i>getSIPrefix</i>()</li>
177<li><span style='color:orange'>(draft)</span> public MeasureUnit <i>product</i>(MeasureUnit)</li>
178<li><span style='color:orange'>(draft)</span> public MeasureUnit <i>reciprocal</i>()</li>
179<li><span style='color:orange'>(draft)</span> public java.util.List&lt;MeasureUnit&gt; <i>splitToSingleUnits</i>()</li>
180<li><span style='color:orange'>(draft)</span> public MeasureUnit <i>withDimensionality</i>(int)</li>
181<li><span style='color:orange'>(draft)</span> public MeasureUnit <i>withSIPrefix</i>(MeasureUnit.SIPrefix)</li>
Victor Chang82493902020-12-23 17:27:56 +0000182</ul>
Victor Chang978167a2021-01-18 17:56:33 +0000183MeasureUnit.Complexity
Victor Chang82493902020-12-23 17:27:56 +0000184<ul>
Victor Chang978167a2021-01-18 17:56:33 +0000185<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.Complexity COMPOUND</li>
186<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.Complexity MIXED</li>
187<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.Complexity SINGLE</li>
188</ul>
189MeasureUnit.SIPrefix
190<ul>
191<li><span style='color:orange'>(draft)</span> public int <i>getPower</i>()</li>
192<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix ATTO</li>
193<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix CENTI</li>
194<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix DECI</li>
195<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix DEKA</li>
196<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix EXA</li>
197<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix FEMTO</li>
198<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix GIGA</li>
199<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix HECTO</li>
200<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix KILO</li>
201<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix MEGA</li>
202<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix MICRO</li>
203<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix MILLI</li>
204<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix NANO</li>
205<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix ONE</li>
206<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix PETA</li>
207<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix PICO</li>
208<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix TERA</li>
209<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix YOCTO</li>
210<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix YOTTA</li>
211<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix ZEPTO</li>
212<li><span style='color:orange'>(draft)</span> public static final MeasureUnit.SIPrefix ZETTA</li>
Fredrik Roubert7935b182014-11-18 20:21:54 -0800213</ul>
214</ul>
215
216<hr/>
Victor Chang978167a2021-01-18 17:56:33 +0000217<p><i><font size="-1">Contents generated by ReportAPI tool on Fri Oct 23 11:19:04 PDT 2020<br/>© 2020 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html">http://www.unicode.org/copyright.html</a></font></i></p>
Fredrik Roubert7935b182014-11-18 20:21:54 -0800218</body>
219</html>