ICU-20438 API status promotion for ICU4J 64

Also includes API tag fixes. build.properties was updated for producing API change report.

ICU-20438 Use proper version for API change report
This commit is contained in:
Yoshito Umaoka 2019-02-21 20:10:17 -05:00
parent 90eb4218c6
commit c0598f401d
5 changed files with 190 additions and 169 deletions

View file

@ -2,73 +2,104 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- © 2018 and later: Unicode, Inc. and others. -->
<!-- © 2019 and later: Unicode, Inc. and others. -->
<!-- License & terms of use: http://www.unicode.org/copyright.html#License -->
<title>ICU4J API Comparison: ICU4J 62.1 with ICU4J 63.1</title>
<title>ICU4J API Comparison: ICU4J 63.1 with ICU4J 64.1</title>
</head>
<body>
<h1>ICU4J API Comparison: ICU4J 62.1 with ICU4J 63.1</h1>
<h1>ICU4J API Comparison: ICU4J 63.1 with ICU4J 64.1</h1>
<hr/>
<h2>Removed from ICU4J 62.1</h2>
<p>(no API removed)</p>
<h2>Removed from ICU4J 63.1</h2>
<h3>Package com.ibm.icu.number</h3>
<ul>
<li><span style='color:gray'>(deprecated)</span> public abstract class <i>CurrencyRounder</i></li>
<li><span style='color:gray'>(deprecated)</span> public abstract class <i>FractionRounder</i></li>
<li><span style='color:gray'>(deprecated)</span> public abstract class <i>Rounder</i></li>
FormattedNumber
<ul>
<li><span style='color:gray'>(deprecated)</span> public java.text.AttributedCharacterIterator <i>getFieldIterator</i>()</li>
<li><span style='color:gray'>(deprecated)</span> public void <i>populateFieldPosition</i>(java.text.FieldPosition)</li>
</ul>
NumberFormatterSettings
<ul>
<li><span style='color:gray'>(deprecated)</span> public T extends NumberFormatterSettings&lt;?&gt; <i>rounding</i>(Precision)</li>
</ul>
Precision
<ul>
<li><span style='color:gray'>(deprecated)</span> public static Precision <i>fixedDigits</i>(int)</li>
<li><span style='color:gray'>(deprecated)</span> public static Precision <i>maxDigits</i>(int)</li>
<li><span style='color:gray'>(deprecated)</span> public static Precision <i>minDigits</i>(int)</li>
<li><span style='color:gray'>(deprecated)</span> public static Precision <i>minMaxDigits</i>(int, int)</li>
<li><span style='color:gray'>(deprecated)</span> public Precision <i>withMode</i>(java.math.RoundingMode)</li>
</ul>
</ul>
<h3>Package com.ibm.icu.util</h3>
<ul>
CharsTrie
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.Object <i>clone</i>()</li>
</ul>
</ul>
<hr/>
<h2>Deprecated or Obsoleted in ICU4J 63.1</h2>
<p>(no API obsoleted)</p>
<hr/>
<h2>Changed in ICU4J 63.1 (old, new)</h2>
<p>(no API changed)</p>
<hr/>
<h2>Promoted to stable in ICU4J 63.1</h2>
<h2>Deprecated or Obsoleted in ICU4J 64.1</h2>
<h3>Package com.ibm.icu.text</h3>
<ul>
<li><span style='color:green'>(stable)</span> public abstract class <i>FilteredBreakIteratorBuilder</i></li>
BreakIterator
<ul>
<li><span style='color:green'>(stable)</span> public void <i>setText</i>(java.lang.CharSequence)</li>
<li><span style='color:gray'>(deprecated)</span> public static final int KIND_TITLE</li>
<li><span style='color:gray'>(deprecated)</span> public static BreakIterator <i>getTitleInstance</i>()</li>
<li><span style='color:gray'>(deprecated)</span> public static BreakIterator <i>getTitleInstance</i>(ULocale)</li>
<li><span style='color:gray'>(deprecated)</span> public static BreakIterator <i>getTitleInstance</i>(java.util.Locale)</li>
</ul>
CaseMap.Fold
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>apply</i>(java.lang.CharSequence)</li>
</ul>
CaseMap.Lower
<hr/>
<h2>Changed in ICU4J 64.1 (old, new)</h2>
<h3>Package com.ibm.icu.number</h3>
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>apply</i>(java.util.Locale, java.lang.CharSequence)</li>
<li> <span style='color:orange'>(draft)</span> public class <i>FormattedNumber</i> extends java.lang.Object</br>
<span style='color:orange'>(draft)</span> public class <i>FormattedNumber</i> extends java.lang.Object implements com.ibm.icu.text.FormattedValue</li>
<li> <span style='color:orange'>(draft)</span> public class <i>FormattedNumberRange</i> extends java.lang.Object</br>
<span style='color:orange'>(draft)</span> public class <i>FormattedNumberRange</i> extends java.lang.Object implements com.ibm.icu.text.FormattedValue</li>
</ul>
CaseMap.Title
<h3>Package com.ibm.icu.util</h3>
<ul>
<li><span style='color:green'>(stable)</span> public CaseMap.Title <i>adjustToCased</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>apply</i>(java.util.Locale, BreakIterator, java.lang.CharSequence)</li>
<li><span style='color:green'>(stable)</span> public CaseMap.Title <i>sentences</i>()</li>
<li><span style='color:green'>(stable)</span> public CaseMap.Title <i>wholeString</i>()</li>
BytesTrie
<ul>
<li> <span style='color:green'>(stable)</span> public java.lang.Object <i>clone</i>()</br>
<span style='color:green'>(stable)</span> public com.ibm.icu.util.BytesTrie <i>clone</i>()</li>
</ul>
CaseMap.Upper
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>apply</i>(java.util.Locale, java.lang.CharSequence)</li>
</ul>
DecimalFormatSymbols
<hr/>
<h2>Promoted to stable in ICU4J 64.1</h2>
<h3>Package com.ibm.icu.text</h3>
<ul>
<li><span style='color:green'>(stable)</span> public static DecimalFormatSymbols <i>forNumberingSystem</i>(ULocale, NumberingSystem)</li>
<li><span style='color:green'>(stable)</span> public static DecimalFormatSymbols <i>forNumberingSystem</i>(java.util.Locale, NumberingSystem)</li>
<li><span style='color:green'>(stable)</span> public static enum <i>DateTimePatternGenerator.DisplayWidth</i></li>
CurrencyDisplayNames
<ul>
<li><span style='color:green'>(stable)</span> public abstract java.lang.String <i>getNarrowSymbol</i>(java.lang.String)</li>
</ul>
Edits
DateTimePatternGenerator
<ul>
<li><span style='color:green'>(stable)</span> public Edits <i>mergeAndAppend</i>(Edits, Edits)</li>
<li><span style='color:green'>(stable)</span> public int <i>numberOfChanges</i>()</li>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getFieldDisplayName</i>(int, DateTimePatternGenerator.DisplayWidth)</li>
</ul>
Edits.Iterator
DateTimePatternGenerator.DisplayWidth
<ul>
<li><span style='color:green'>(stable)</span> public int <i>destinationIndexFromSourceIndex</i>(int)</li>
<li><span style='color:green'>(stable)</span> public boolean <i>findDestinationIndex</i>(int)</li>
<li><span style='color:green'>(stable)</span> public int <i>sourceIndexFromDestinationIndex</i>(int)</li>
</ul>
NumberingSystem
<ul>
<li><span style='color:green'>(stable)</span> public static final NumberingSystem LATIN</li>
<li><span style='color:green'>(stable)</span> public static final DateTimePatternGenerator.DisplayWidth ABBREVIATED</li>
<li><span style='color:green'>(stable)</span> public static final DateTimePatternGenerator.DisplayWidth NARROW</li>
<li><span style='color:green'>(stable)</span> public static final DateTimePatternGenerator.DisplayWidth WIDE</li>
</ul>
</ul>
@ -76,160 +107,146 @@ NumberingSystem
<ul>
Currency
<ul>
<li><span style='color:green'>(stable)</span> public static Currency <i>fromJavaCurrency</i>(java.util.Currency)</li>
<li><span style='color:green'>(stable)</span> public java.util.Currency <i>toJavaCurrency</i>()</li>
</ul>
CurrencyAmount
<ul>
<li><span style='color:green'>(stable)</span> public <i>CurrencyAmount</i>(double, java.util.Currency)</li>
<li><span style='color:green'>(stable)</span> public <i>CurrencyAmount</i>(java.lang.Number, java.util.Currency)</li>
<li><span style='color:green'>(stable)</span> public static final int NARROW_SYMBOL_NAME</li>
</ul>
</ul>
<hr/>
<h2>Added in ICU4J 63.1</h2>
<h2>Added in ICU4J 64.1</h2>
<h3>Package com.ibm.icu.lang</h3>
<ul>
<li><span style='color:orange'>(draft)</span> public final class <i>CharacterProperties</i></li>
<li><span style='color:green'>(stable)</span> public static interface <i>UCharacter.IndicPositionalCategory</i></li>
<li><span style='color:green'>(stable)</span> public static interface <i>UCharacter.IndicSyllabicCategory</i></li>
<li><span style='color:green'>(stable)</span> public static interface <i>UCharacter.VerticalOrientation</i></li>
UProperty
UCharacter.UnicodeBlock
<ul>
<li><span style='color:green'>(stable)</span> public static final int INDIC_POSITIONAL_CATEGORY</li>
<li><span style='color:green'>(stable)</span> public static final int INDIC_SYLLABIC_CATEGORY</li>
<li><span style='color:green'>(stable)</span> public static final int VERTICAL_ORIENTATION</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS</li>
<li><span style='color:green'>(stable)</span> public static final int EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock ELYMAIC</li>
<li><span style='color:green'>(stable)</span> public static final int ELYMAIC_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock NANDINAGARI</li>
<li><span style='color:green'>(stable)</span> public static final int NANDINAGARI_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock NYIAKENG_PUACHUE_HMONG</li>
<li><span style='color:green'>(stable)</span> public static final int NYIAKENG_PUACHUE_HMONG_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock OTTOMAN_SIYAQ_NUMBERS</li>
<li><span style='color:green'>(stable)</span> public static final int OTTOMAN_SIYAQ_NUMBERS_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock SMALL_KANA_EXTENSION</li>
<li><span style='color:green'>(stable)</span> public static final int SMALL_KANA_EXTENSION_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A</li>
<li><span style='color:green'>(stable)</span> public static final int SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock TAMIL_SUPPLEMENT</li>
<li><span style='color:green'>(stable)</span> public static final int TAMIL_SUPPLEMENT_ID</li>
<li><span style='color:green'>(stable)</span> public static final UCharacter.UnicodeBlock WANCHO</li>
<li><span style='color:green'>(stable)</span> public static final int WANCHO_ID</li>
</ul>
UScript
<ul>
<li><span style='color:green'>(stable)</span> public static final int ELYMAIC</li>
<li><span style='color:green'>(stable)</span> public static final int NANDINAGARI</li>
<li><span style='color:green'>(stable)</span> public static final int NYIAKENG_PUACHUE_HMONG</li>
<li><span style='color:green'>(stable)</span> public static final int WANCHO</li>
</ul>
</ul>
<h3>Package com.ibm.icu.number</h3>
<ul>
<li><span style='color:orange'>(draft)</span> public class <i>FormattedNumberRange</i></li>
<li><span style='color:orange'>(draft)</span> public class <i>LocalizedNumberRangeFormatter</i></li>
<li><span style='color:orange'>(draft)</span> public abstract class <i>NumberRangeFormatter</i></li>
<li><span style='color:orange'>(draft)</span> public abstract class <i>NumberRangeFormatterSettings</i></li>
<li><span style='color:orange'>(draft)</span> public class <i>UnlocalizedNumberRangeFormatter</i></li>
<li><span style='color:orange'>(draft)</span> public static enum <i>NumberRangeFormatter.RangeCollapse</i></li>
<li><span style='color:orange'>(draft)</span> public static enum <i>NumberRangeFormatter.RangeIdentityFallback</i></li>
<li><span style='color:orange'>(draft)</span> public static enum <i>NumberRangeFormatter.RangeIdentityResult</i></li>
NumberRangeFormatter.RangeCollapse
FormattedNumber
<ul>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeCollapse ALL</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeCollapse AUTO</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeCollapse NONE</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeCollapse UNIT</li>
<li><span style='color:orange'>(draft)</span> public char <i>charAt</i>(int)</li>
<li><span style='color:orange'>(draft)</span> public int <i>length</i>()</li>
<li><span style='color:orange'>(draft)</span> public boolean <i>nextPosition</i>(ConstrainedFieldPosition)</li>
<li><span style='color:orange'>(draft)</span> public java.lang.CharSequence <i>subSequence</i>(int, int)</li>
</ul>
NumberRangeFormatter.RangeIdentityFallback
FormattedNumberRange
<ul>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeIdentityFallback APPROXIMATELY</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeIdentityFallback APPROXIMATELY_OR_SINGLE_VALUE</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeIdentityFallback RANGE</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeIdentityFallback SINGLE_VALUE</li>
</ul>
NumberRangeFormatter.RangeIdentityResult
<ul>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeIdentityResult EQUAL_AFTER_ROUNDING</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeIdentityResult EQUAL_BEFORE_ROUNDING</li>
<li><span style='color:orange'>(draft)</span> public static final NumberRangeFormatter.RangeIdentityResult NOT_EQUAL</li>
</ul>
Precision
<ul>
<li><span style='color:orange'>(draft)</span> public java.lang.Object <i>clone</i>()</li>
</ul>
ScientificNotation
<ul>
<li><span style='color:orange'>(draft)</span> public java.lang.Object <i>clone</i>()</li>
<li><span style='color:orange'>(draft)</span> public char <i>charAt</i>(int)</li>
<li><span style='color:orange'>(draft)</span> public int <i>length</i>()</li>
<li><span style='color:orange'>(draft)</span> public boolean <i>nextPosition</i>(ConstrainedFieldPosition)</li>
<li><span style='color:orange'>(draft)</span> public java.lang.CharSequence <i>subSequence</i>(int, int)</li>
</ul>
</ul>
<h3>Package com.ibm.icu.text</h3>
<ul>
CollationElementIterator
<li><span style='color:orange'>(draft)</span> public class <i>ConstrainedFieldPosition</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>DateIntervalFormat.FormattedDateInterval</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>DateIntervalFormat.SpanField</i></li>
<li><span style='color:orange'>(draft)</span> public interface <i>FormattedValue</i></li>
<li><span style='color:orange'>(draft)</span> public static class <i>RelativeDateTimeFormatter.Field</i></li>
<li><span style='color:orange'>(draft)</span> public static class <i>RelativeDateTimeFormatter.FormattedRelativeDateTime</i></li>
<li><span style='color:orange'>(draft)</span> public static abstract class <i>UFormat.SpanField</i></li>
DateFormatSymbols
<ul>
<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li>
<li><span style='color:orange'>(draft)</span> public java.lang.String[] <i>getNarrowEras</i>()</li>
<li><span style='color:orange'>(draft)</span> public void <i>setNarrowEras</i>(java.lang.String[])</li>
</ul>
CurrencyPluralInfo
DateIntervalFormat
<ul>
<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li>
<li><span style='color:orange'>(draft)</span> public DateIntervalFormat.FormattedDateInterval <i>formatToValue</i>(Calendar, Calendar)</li>
<li><span style='color:orange'>(draft)</span> public final DateIntervalFormat.FormattedDateInterval <i>formatToValue</i>(DateInterval)</li>
</ul>
DateIntervalInfo.PatternInfo
DecimalFormat
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>toString</i>()</li>
<li><span style='color:orange'>(draft)</span> public synchronized int <i>getMinimumGroupingDigits</i>()</li>
<li><span style='color:orange'>(draft)</span> public synchronized boolean <i>isParseCaseSensitive</i>()</li>
<li><span style='color:orange'>(draft)</span> public synchronized boolean <i>isParseNoExponent</i>()</li>
<li><span style='color:orange'>(draft)</span> public synchronized boolean <i>isSignAlwaysShown</i>()</li>
<li><span style='color:orange'>(draft)</span> public synchronized void <i>setMinimumGroupingDigits</i>(int)</li>
<li><span style='color:orange'>(draft)</span> public synchronized void <i>setParseCaseSensitive</i>(boolean)</li>
<li><span style='color:orange'>(draft)</span> public synchronized void <i>setParseNoExponent</i>(boolean)</li>
<li><span style='color:orange'>(draft)</span> public synchronized void <i>setSignAlwaysShown</i>(boolean)</li>
</ul>
Edits.Iterator
NumberFormat.Field
<ul>
<li><span style='color:green'>(stable)</span> public java.lang.String <i>toString</i>()</li>
<li><span style='color:orange'>(draft)</span> public static final NumberFormat.Field COMPACT</li>
<li><span style='color:orange'>(draft)</span> public static final NumberFormat.Field MEASURE_UNIT</li>
</ul>
PluralRules
<ul>
<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li>
<li><span style='color:orange'>(draft)</span> public java.lang.String <i>select</i>(FormattedNumber)</li>
</ul>
RuleBasedNumberFormat
RelativeDateTimeFormatter
<ul>
<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li>
<li><span style='color:orange'>(draft)</span> public RelativeDateTimeFormatter.FormattedRelativeDateTime <i>formatNumericToValue</i>(double, RelativeDateTimeFormatter.RelativeDateTimeUnit)</li>
<li><span style='color:orange'>(draft)</span> public RelativeDateTimeFormatter.FormattedRelativeDateTime <i>formatToValue</i>(RelativeDateTimeFormatter.Direction, RelativeDateTimeFormatter.AbsoluteUnit)</li>
<li><span style='color:orange'>(draft)</span> public RelativeDateTimeFormatter.FormattedRelativeDateTime <i>formatToValue</i>(double, RelativeDateTimeFormatter.Direction, RelativeDateTimeFormatter.RelativeUnit)</li>
<li><span style='color:orange'>(draft)</span> public RelativeDateTimeFormatter.FormattedRelativeDateTime <i>formatToValue</i>(double, RelativeDateTimeFormatter.RelativeDateTimeUnit)</li>
</ul>
StringPrepParseException
RelativeDateTimeFormatter.AbsoluteUnit
<ul>
<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li>
</ul>
TimeUnitFormat
<ul>
<li><span style='color:gray'>(deprecated)</span> public java.lang.Object <i>clone</i>()</li>
</ul>
Transliterator.Position
<ul>
<li><span style='color:green'>(stable)</span> public int <i>hashCode</i>()</li>
<li><span style='color:orange'>(draft)</span> public static final RelativeDateTimeFormatter.AbsoluteUnit QUARTER</li>
</ul>
</ul>
<h3>Package com.ibm.icu.util</h3>
<ul>
<li><span style='color:orange'>(draft)</span> public abstract class <i>CodePointMap</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>CodePointMap.Range</i></li>
<li><span style='color:orange'>(draft)</span> public class <i>CodePointMap.StringIterator</i></li>
<li><span style='color:orange'>(draft)</span> public static interface <i>CodePointMap.ValueFilter</i></li>
<li><span style='color:orange'>(draft)</span> public abstract class <i>CodePointTrie</i></li>
<li><span style='color:orange'>(draft)</span> public static abstract class <i>CodePointTrie.Fast</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>CodePointTrie.Fast16</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>CodePointTrie.Fast32</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>CodePointTrie.Fast8</i></li>
<li><span style='color:orange'>(draft)</span> public static abstract class <i>CodePointTrie.Small</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>CodePointTrie.Small16</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>CodePointTrie.Small32</i></li>
<li><span style='color:orange'>(draft)</span> public static final class <i>CodePointTrie.Small8</i></li>
<li><span style='color:orange'>(draft)</span> public final class <i>MutableCodePointTrie</i></li>
<li><span style='color:orange'>(draft)</span> public static enum <i>CodePointMap.RangeOption</i></li>
<li><span style='color:orange'>(draft)</span> public static enum <i>CodePointTrie.Type</i></li>
<li><span style='color:orange'>(draft)</span> public static enum <i>CodePointTrie.ValueWidth</i></li>
CodePointMap.RangeOption
BytesTrie
<ul>
<li><span style='color:orange'>(draft)</span> public static final CodePointMap.RangeOption FIXED_ALL_SURROGATES</li>
<li><span style='color:orange'>(draft)</span> public static final CodePointMap.RangeOption FIXED_LEAD_SURROGATES</li>
<li><span style='color:orange'>(draft)</span> public static final CodePointMap.RangeOption NORMAL</li>
<li><span style='color:orange'>(draft)</span> public <i>BytesTrie</i>(BytesTrie)</li>
<li><span style='color:orange'>(draft)</span> public long <i>getState64</i>()</li>
<li><span style='color:orange'>(draft)</span> public BytesTrie <i>resetToState64</i>(long)</li>
</ul>
CodePointTrie.Type
CharsTrie
<ul>
<li><span style='color:orange'>(draft)</span> public static final CodePointTrie.Type FAST</li>
<li><span style='color:orange'>(draft)</span> public static final CodePointTrie.Type SMALL</li>
</ul>
CodePointTrie.ValueWidth
<ul>
<li><span style='color:orange'>(draft)</span> public static final CodePointTrie.ValueWidth BITS_16</li>
<li><span style='color:orange'>(draft)</span> public static final CodePointTrie.ValueWidth BITS_32</li>
<li><span style='color:orange'>(draft)</span> public static final CodePointTrie.ValueWidth BITS_8</li>
<li><span style='color:orange'>(draft)</span> public <i>CharsTrie</i>(CharsTrie)</li>
<li><span style='color:green'>(stable)</span> public CharsTrie <i>clone</i>()</li>
<li><span style='color:orange'>(draft)</span> public long <i>getState64</i>()</li>
<li><span style='color:orange'>(draft)</span> public CharsTrie <i>resetToState64</i>(long)</li>
</ul>
MeasureUnit
<ul>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit ATMOSPHERE</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit PERCENT</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit PERMILLE</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit PETABYTE</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit DAY_PERSON</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit MONTH_PERSON</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit WEEK_PERSON</li>
<li><span style='color:orange'>(draft)</span> public static final MeasureUnit YEAR_PERSON</li>
</ul>
VersionInfo
<ul>
<li><span style='color:green'>(stable)</span> public static final VersionInfo UNICODE_12_0</li>
</ul>
</ul>
<hr/>
<p><i><font size="-1">Contents generated by ReportAPI tool on Wed Sep 26 19:32:24 PDT 2018<br/>© 2018 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html#License">http://www.unicode.org/copyright.html#License</a></font></i></p>
<p><i><font size="-1">Contents generated by ReportAPI tool on Fri Feb 22 16:33:29 EST 2019<br/>© 2019 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html#License">http://www.unicode.org/copyright.html#License</a></font></i></p>
</body>
</html>


View file

@ -193,8 +193,10 @@ public class ConstrainedFieldPosition {
*
* @param field The field to fix when iterating.
* @param fieldValue The field value to fix when iterating.
* @internal ICU 64 Technical Preview
* @internal ICU 64 technology preview
* @deprecated This API is for technology preview and might be changed or removed in a future release.
*/
@Deprecated
public void constrainFieldAndValue(Field field, Object fieldValue) {
fConstraint = ConstraintType.VALUE;
fClassConstraint = Object.class;
@ -344,6 +346,11 @@ public class ConstrainedFieldPosition {
}
}
/**
* {@inheritDoc}
* @draft ICU 64
* @provisional This API might change or be removed in a future release.
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();

View file

@ -127,8 +127,7 @@ public abstract class CurrencyDisplayNames {
*
* @param isoCode the three-letter ISO code.
* @return the narrow symbol.
* @draft ICU 61
* @provisional This API might change or be removed in a future release.
* @stable ICU 61
*/
public abstract String getNarrowSymbol(String isoCode);

View file

@ -400,7 +400,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
// Get the data for dayperiod C.
static final Map<String, String[]> LOCALE_TO_ALLOWED_HOUR;
static {
HashMap<String, String[]> temp = new HashMap<String, String[]>();
HashMap<String, String[]> temp = new HashMap<>();
ICUResourceBundle suppData = (ICUResourceBundle)ICUResourceBundle.getBundleInstance(
ICUData.ICU_BASE_NAME,
"supplementalData",
@ -865,7 +865,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
*/
public Map<String, String> getSkeletons(Map<String, String> result) {
if (result == null) {
result = new LinkedHashMap<String, String>();
result = new LinkedHashMap<>();
}
for (DateTimeMatcher item : skeleton2pattern.keySet()) {
PatternWithSkeletonFlag patternWithSkelFlag = skeleton2pattern.get(item);
@ -884,7 +884,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
*/
public Set<String> getBaseSkeletons(Set<String> result) {
if (result == null) {
result = new HashSet<String>();
result = new HashSet<>();
}
result.addAll(basePattern_pattern.keySet());
return result;
@ -1002,7 +1002,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
public Collection<String> getRedundants(Collection<String> output) {
synchronized (this) { // synchronized since a getter must be thread-safe
if (output == null) {
output = new LinkedHashSet<String>();
output = new LinkedHashSet<>();
}
for (DateTimeMatcher cur : skeleton2pattern.keySet()) {
PatternWithSkeletonFlag patternWithSkelFlag = skeleton2pattern.get(cur);
@ -1131,24 +1131,24 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
/**
* Field display name width constants for getFieldDisplayName
* @draft ICU 61
* @stable ICU 61
*/
public enum DisplayWidth {
/**
* The full field name
* @draft ICU 61
* @stable ICU 61
*/
WIDE(""),
/**
* An abbreviated field name
* (may be the same as the wide version, if short enough)
* @draft ICU 61
* @stable ICU 61
*/
ABBREVIATED("-short"),
/**
* The shortest possible field name
* (may be the same as the abbreviated version)
* @draft ICU 61
* @stable ICU 61
*/
NARROW("-narrow");
/**
@ -1307,7 +1307,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
* @param field The field type, such as ERA.
* @param width The desired DisplayWidth, such as DisplayWidth.ABBREVIATED.
* @return. The display name for the field
* @draft ICU 61
* @stable ICU 61
*/
public String getFieldDisplayName(int field, DisplayWidth width) {
if (field >= TYPE_LIMIT || field < 0) {
@ -1548,7 +1548,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
.setSyntaxCharacters(SYNTAX_CHARS)
.setExtraQuotingCharacters(QUOTING_CHARS)
.setUsingQuote(true);
private List<Object> items = new ArrayList<Object>();
private List<Object> items = new ArrayList<>();
/**
* Construct an empty date format parser, to which strings and variables can be added with set(...).
@ -1864,7 +1864,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
private TreeSet<String> getSet(String id) {
final List<Object> items = fp.set(id).getItems();
TreeSet<String> result = new TreeSet<String>();
TreeSet<String> result = new TreeSet<>();
for (Object obj : items) {
final String item = obj.toString();
if (item.startsWith("G") || item.startsWith("a")) {
@ -1899,8 +1899,8 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
return pattern + "," + skeletonWasSpecified;
}
}
private TreeMap<DateTimeMatcher, PatternWithSkeletonFlag> skeleton2pattern = new TreeMap<DateTimeMatcher, PatternWithSkeletonFlag>(); // items are in priority order
private TreeMap<String, PatternWithSkeletonFlag> basePattern_pattern = new TreeMap<String, PatternWithSkeletonFlag>(); // items are in priority order
private TreeMap<DateTimeMatcher, PatternWithSkeletonFlag> skeleton2pattern = new TreeMap<>(); // items are in priority order
private TreeMap<String, PatternWithSkeletonFlag> basePattern_pattern = new TreeMap<>(); // items are in priority order
private String decimal = "?";
private String dateTimeFormat = "{1} {0}";
private String[] appendItemFormats = new String[TYPE_LIMIT];
@ -1920,7 +1920,7 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
private static final int SECOND_AND_FRACTIONAL_MASK = (1<<SECOND) | (1<<FRACTIONAL_SECOND);
// Cache for DateTimePatternGenerator
private static ICUCache<String, DateTimePatternGenerator> DTPNG_CACHE = new SimpleCache<String, DateTimePatternGenerator>();
private static ICUCache<String, DateTimePatternGenerator> DTPNG_CACHE = new SimpleCache<>();
private void checkFrozen() {
if (isFrozen()) {
@ -2219,8 +2219,8 @@ public class DateTimePatternGenerator implements Freezable<DateTimePatternGenera
// 'S', // 14 FRACTIONAL_SECOND
// 'v', // 15 ZONE "zone"
private static final Set<String> CANONICAL_SET = new HashSet<String>(Arrays.asList(CANONICAL_ITEMS));
private Set<String> cldrAvailableFormatKeys = new HashSet<String>(20);
private static final Set<String> CANONICAL_SET = new HashSet<>(Arrays.asList(CANONICAL_ITEMS));
private Set<String> cldrAvailableFormatKeys = new HashSet<>(20);
private static final int
DATE_MASK = (1<<DAYPERIOD) - 1,

View file

@ -94,8 +94,7 @@ public class Currency extends MeasureUnit {
* symbol, but it always takes the shortest form: for example,
* "$" instead of "US$" for USD in en-CA.
*
* @draft ICU 61
* @provisional This API might change or be removed in a future release.
* @stable ICU 61
*/
public static final int NARROW_SYMBOL_NAME = 3;
@ -236,7 +235,6 @@ public class Currency extends MeasureUnit {
return resultSet;
}
private static final String EUR_STR = "EUR";
private static final CacheBase<String, Currency, Void> regionCurrencyCache =
new SoftCache<String, Currency, Void>() {
@Override