• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<!-- © 2020 and later: Unicode, Inc. and others. -->
6<!-- License & terms of use: http://www.unicode.org/copyright.html -->
7<title>ICU4J API Comparison: ICU4J 67.1 with ICU4J 68.1</title>
8</head>
9<body>
10<h1>ICU4J API Comparison: ICU4J 67.1 with ICU4J 68.1</h1>
11
12<hr/>
13<h2>Removed from ICU4J 67.1</h2>
14<p>(no API removed)</p>
15
16<hr/>
17<h2>Deprecated or Obsoleted in ICU4J 68.1</h2>
18<p>(no API obsoleted)</p>
19
20<hr/>
21<h2>Changed in ICU4J 68.1 (old, new)</h2>
22
23<h3>Package com.ibm.icu.util</h3>
24<ul>
25<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>
36</ul>
37
38
39<hr/>
40<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>
111
112<h3>Package com.ibm.icu.number</h3>
113<ul>
114FormattedNumber
115<ul>
116<li><span style='color:orange'>(draft)</span> public MeasureUnit <i>getOutputUnit</i>()</li>
117</ul>
118NumberFormatterSettings
119<ul>
120<li><span style='color:orange'>(draft)</span> public T extends NumberFormatterSettings&lt;?&gt; <i>usage</i>(java.lang.String)</li>
121</ul>
122</ul>
123
124<h3>Package com.ibm.icu.text</h3>
125<ul>
126DateIntervalFormat
127<ul>
128<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>
130</ul>
131DecimalFormat
132<ul>
133<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>
135</ul>
136PluralRules
137<ul>
138<li><span style='color:orange'>(draft)</span> public java.lang.String <i>select</i>(FormattedNumberRange)</li>
139</ul>
140</ul>
141
142<h3>Package com.ibm.icu.util</h3>
143<ul>
144<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
148<ul>
149<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>
151</ul>
152LocaleMatcher.Builder
153<ul>
154<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>
157</ul>
158MeasureUnit
159<ul>
160<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>
182</ul>
183MeasureUnit.Complexity
184<ul>
185<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>
213</ul>
214</ul>
215
216<hr/>
217<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>
218</body>
219</html>
220