mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-9947 Updated public API status for ICU4J 51.
X-SVN-Rev: 33290
This commit is contained in:
parent
4d713a0022
commit
4fa11a300d
21 changed files with 331 additions and 333 deletions
|
@ -2,182 +2,275 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>ICU4J API Comparison: ICU4J 49.1 with ICU4J 50.1</title>
|
||||
<!-- Copyright 2012, IBM, All Rights Reserved. -->
|
||||
<title>ICU4J API Comparison: ICU4J 50.1 with ICU4J 51.0.1</title>
|
||||
<!-- Copyright 2013, IBM, All Rights Reserved. -->
|
||||
</head>
|
||||
<body>
|
||||
<h1>ICU4J API Comparison: ICU4J 49.1 with ICU4J 50.1</h1>
|
||||
<h1>ICU4J API Comparison: ICU4J 50.1 with ICU4J 51.0.1</h1>
|
||||
|
||||
<hr/>
|
||||
<h2>Removed from ICU4J 49.1</h2>
|
||||
<h2>Removed from ICU4J 50.1</h2>
|
||||
|
||||
<h3>Package com.ibm.icu.text</h3>
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public class <i>DictionaryBasedBreakIterator</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>NumberFormat.CompactStyle</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>SimpleDateFormat.ContextType</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>SimpleDateFormat.ContextValue</i></li>
|
||||
CharsetMatch
|
||||
TimeZoneFormat
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final int BOM</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int DECLARED_ENCODING</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int ENCODING_SCHEME</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int LANG_STATISTICS</li>
|
||||
<li><span style='color:orange'>(draft)</span> public int <i>getMatchType</i>()</li>
|
||||
<li><span style='color:orange'>(draft)</span> public final java.lang.String <i>formatOffsetISO8601</i>(int)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public final java.lang.String <i>formatOffsetRFC822</i>(int)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public final int <i>parseOffsetRFC822</i>(java.lang.String, java.text.ParsePosition)</li>
|
||||
</ul>
|
||||
NumberFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final CompactDecimalFormat <i>getCompactDecimalInstance</i>(ULocale, NumberFormat.CompactStyle)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final CompactDecimalFormat <i>getCompactDecimalInstance</i>(java.util.Locale, NumberFormat.CompactStyle)</li>
|
||||
</ul>
|
||||
SimpleDateFormat
|
||||
|
||||
|
||||
<hr/>
|
||||
<h2>Deprecated or Obsoleted in ICU4J 51.0.1</h2>
|
||||
|
||||
<h3>Package com.ibm.icu.text</h3>
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public java.lang.StringBuffer <i>format</i>(Calendar, java.util.Map<SimpleDateFormat.ContextType, SimpleDateFormat.ContextValue>, java.lang.StringBuffer, java.text.FieldPosition)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public SimpleDateFormat.ContextValue <i>getDefaultContext</i>(SimpleDateFormat.ContextType)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public void <i>setDefaultContext</i>(SimpleDateFormat.ContextType, SimpleDateFormat.ContextValue)</li>
|
||||
CurrencyMetaInfo.CurrencyInfo
|
||||
<ul>
|
||||
<li><span style='color:gray'>(deprecated)</span> public <i>CurrencyMetaInfo.CurrencyInfo</i>(java.lang.String, java.lang.String, long, long, int)</li>
|
||||
</ul>
|
||||
SpoofChecker.CheckResult
|
||||
<ul>
|
||||
<li><span style='color:gray'>(deprecated)</span> public int position</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Package com.ibm.icu.util</h3>
|
||||
<ul>
|
||||
TimeZone
|
||||
LocaleData
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static ICULogger TimeZoneLogger</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static final int ES_CURRENCY</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
<hr/>
|
||||
<h2>Deprecated or Obsoleted in ICU4J 50.1</h2>
|
||||
|
||||
<h3>Package com.ibm.icu.text</h3>
|
||||
<ul>
|
||||
<li><span style='color:gray'>(deprecated)</span> public class <i>ChineseDateFormat</i></li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static class <i>ChineseDateFormat.Field</i></li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public class <i>ChineseDateFormatSymbols</i></li>
|
||||
DateFormat
|
||||
<ul>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static final java.lang.String ABBR_STANDALONE_MONTH</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static final java.lang.String HOUR_GENERIC_TZ</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static final java.lang.String HOUR_MINUTE_GENERIC_TZ</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static final java.lang.String HOUR_MINUTE_TZ</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static final java.lang.String HOUR_TZ</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public static final java.lang.String STANDALONE_MONTH</li>
|
||||
</ul>
|
||||
PluralFormat
|
||||
<ul>
|
||||
<li><span style='color:gray'>(deprecated)</span> public void <i>setLocale</i>(ULocale)</li>
|
||||
</ul>
|
||||
RuleBasedCollator
|
||||
<ul>
|
||||
<li><span style='color:gray'>(deprecated)</span> public boolean <i>isHiraganaQuaternary</i>()</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public void <i>setHiraganaQuaternary</i>(boolean)</li>
|
||||
<li><span style='color:gray'>(deprecated)</span> public void <i>setHiraganaQuaternaryDefault</i>()</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
<hr/>
|
||||
<h2>Changed in ICU4J 50.1 (old, new)</h2>
|
||||
<h2>Changed in ICU4J 51.0.1 (old, new)</h2>
|
||||
<p>(no API changed)</p>
|
||||
|
||||
<hr/>
|
||||
<h2>Promoted to stable in ICU4J 50.1</h2>
|
||||
<h2>Promoted to stable in ICU4J 51.0.1</h2>
|
||||
|
||||
<h3>Package com.ibm.icu.charset</h3>
|
||||
<ul>
|
||||
CharsetEncoderICU
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static int <i>getMaxBytesForString</i>(int, int)</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Package com.ibm.icu.lang</h3>
|
||||
<ul>
|
||||
UProperty
|
||||
UScript
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final int OTHER_PROPERTY_LIMIT</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int OTHER_PROPERTY_START</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int SCRIPT_EXTENSIONS</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int <i>getScriptExtensions</i>(int, java.util.BitSet)</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final boolean <i>hasScript</i>(int, int)</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Package com.ibm.icu.text</h3>
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public abstract class <i>CurrencyDisplayNames</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public class <i>CurrencyMetaInfo</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static final class <i>CurrencyMetaInfo.CurrencyDigits</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static final class <i>CurrencyMetaInfo.CurrencyFilter</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static final class <i>CurrencyMetaInfo.CurrencyInfo</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public class <i>CompactDecimalFormat</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public final class <i>MessagePatternUtil</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static class <i>MessagePatternUtil.ArgNode</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static class <i>MessagePatternUtil.ComplexArgStyleNode</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static class <i>MessagePatternUtil.MessageContentsNode</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static final class <i>MessagePatternUtil.MessageContentsNode.Type</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static class <i>MessagePatternUtil.MessageNode</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static class <i>MessagePatternUtil.Node</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static class <i>MessagePatternUtil.TextNode</i></li>
|
||||
<li><span style='color:green'>(stable)</span> public static class <i>MessagePatternUtil.VariantNode</i></li>
|
||||
CurrencyDisplayNames
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static CurrencyDisplayNames <i>getInstance</i>(ULocale, boolean)</li>
|
||||
<li><span style='color:green'>(stable)</span> public abstract ULocale <i>getULocale</i>()</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<hr/>
|
||||
<h2>Added in ICU4J 50.1</h2>
|
||||
|
||||
<h3>Package com.ibm.icu.lang</h3>
|
||||
CurrencyMetaInfo
|
||||
<ul>
|
||||
UCharacter.GraphemeClusterBreak
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final int REGIONAL_INDICATOR</li>
|
||||
<li><span style='color:green'>(stable)</span> public static CurrencyMetaInfo <i>getInstance</i>(boolean)</li>
|
||||
</ul>
|
||||
UCharacter.LineBreak
|
||||
CurrencyMetaInfo.CurrencyDigits
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final int REGIONAL_INDICATOR</li>
|
||||
<li><span style='color:green'>(stable)</span> public final int fractionDigits</li>
|
||||
<li><span style='color:green'>(stable)</span> public final int roundingIncrement</li>
|
||||
</ul>
|
||||
UCharacter.WordBreak
|
||||
CurrencyMetaInfo.CurrencyFilter
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final int REGIONAL_INDICATOR</li>
|
||||
<li><span style='color:green'>(stable)</span> public static CurrencyMetaInfo.CurrencyFilter <i>onDateRange</i>(java.util.Date, java.util.Date)</li>
|
||||
<li><span style='color:green'>(stable)</span> public CurrencyMetaInfo.CurrencyFilter <i>withDateRange</i>(java.util.Date, java.util.Date)</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Package com.ibm.icu.text</h3>
|
||||
CurrencyMetaInfo.CurrencyInfo
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>CompactDecimalFormat.CompactStyle</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public final class <i>ListFormatter</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>PluralRules.KeywordStatus</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>PluralRules.PluralType</i></li>
|
||||
CompactDecimalFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public java.text.AttributedCharacterIterator <i>formatToCharacterIterator</i>(java.lang.Object)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static CompactDecimalFormat <i>getInstance</i>(ULocale, CompactDecimalFormat.CompactStyle)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static CompactDecimalFormat <i>getInstance</i>(java.util.Locale, CompactDecimalFormat.CompactStyle)</li>
|
||||
<li><span style='color:green'>(stable)</span> public final int priority</li>
|
||||
</ul>
|
||||
DateFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String ABBR_GENERIC_TZ</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String ABBR_QUARTER</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String ABBR_SPECIFIC_TZ</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String ABBR_UTC_TZ</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String ABBR_WEEKDAY</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String GENERIC_TZ</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String HOUR24</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String LOCATION_TZ</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String MINUTE</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String QUARTER</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String SECOND</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String SPECIFIC_TZ</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String WEEKDAY</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int YEAR_NAME_FIELD</li>
|
||||
</ul>
|
||||
MessagePattern.ArgType
|
||||
DecimalFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public boolean <i>hasPluralStyle</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public CurrencyAmount <i>parseCurrency</i>(java.lang.CharSequence, java.text.ParsePosition)</li>
|
||||
</ul>
|
||||
PluralFormat
|
||||
FilteredNormalizer2
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public <i>PluralFormat</i>(ULocale, PluralRules.PluralType)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public <i>PluralFormat</i>(ULocale, PluralRules.PluralType, java.lang.String)</li>
|
||||
<li><span style='color:green'>(stable)</span> public int <i>composePair</i>(int, int)</li>
|
||||
<li><span style='color:green'>(stable)</span> public int <i>getCombiningClass</i>(int)</li>
|
||||
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getRawDecomposition</i>(int)</li>
|
||||
</ul>
|
||||
PluralRules
|
||||
IDNA
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static PluralRules <i>forLocale</i>(ULocale, PluralRules.PluralType)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public PluralRules.KeywordStatus <i>getKeywordStatus</i>(java.lang.String, int, java.util.Set<java.lang.Double>, Output<java.lang.Double>)</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int CHECK_CONTEXTO</li>
|
||||
</ul>
|
||||
Normalizer2
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public int <i>composePair</i>(int, int)</li>
|
||||
<li><span style='color:green'>(stable)</span> public int <i>getCombiningClass</i>(int)</li>
|
||||
<li><span style='color:green'>(stable)</span> public static Normalizer2 <i>getNFCInstance</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public static Normalizer2 <i>getNFDInstance</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public static Normalizer2 <i>getNFKCCasefoldInstance</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public static Normalizer2 <i>getNFKCInstance</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public static Normalizer2 <i>getNFKDInstance</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public java.lang.String <i>getRawDecomposition</i>(int)</li>
|
||||
</ul>
|
||||
NumberFormat
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public CurrencyAmount <i>parseCurrency</i>(java.lang.CharSequence, java.text.ParsePosition)</li>
|
||||
</ul>
|
||||
RuleBasedNumberFormat
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public void <i>setDecimalFormatSymbols</i>(DecimalFormatSymbols)</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Package com.ibm.icu.util</h3>
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public class <i>Region</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>Region.RegionType</i></li>
|
||||
VersionInfo
|
||||
Calendar
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final VersionInfo UNICODE_6_2</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int WALLTIME_FIRST</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int WALLTIME_LAST</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final int WALLTIME_NEXT_VALID</li>
|
||||
<li><span style='color:green'>(stable)</span> public int <i>getRepeatedWallTimeOption</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public int <i>getSkippedWallTimeOption</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public void <i>setRepeatedWallTimeOption</i>(int)</li>
|
||||
<li><span style='color:green'>(stable)</span> public void <i>setSkippedWallTimeOption</i>(int)</li>
|
||||
</ul>
|
||||
LocaleData
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final int ES_PUNCTUATION</li>
|
||||
</ul>
|
||||
RuleBasedTimeZone
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>cloneAsThawed</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>freeze</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>isFrozen</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>observesDaylightTime</i>()</li>
|
||||
</ul>
|
||||
SimpleTimeZone
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>cloneAsThawed</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>freeze</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>isFrozen</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>observesDaylightTime</i>()</li>
|
||||
</ul>
|
||||
TimeZone
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public static final TimeZone GMT_ZONE</li>
|
||||
<li><span style='color:green'>(stable)</span> public static final TimeZone UNKNOWN_ZONE</li>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>cloneAsThawed</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>freeze</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public static TimeZone <i>getFrozenTimeZone</i>(java.lang.String)</li>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>isFrozen</i>()</li>
|
||||
</ul>
|
||||
VTimeZone
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>cloneAsThawed</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public TimeZone <i>freeze</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>isFrozen</i>()</li>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>observesDaylightTime</i>()</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
<hr/>
|
||||
<h2>Added in ICU4J 51.0.1</h2>
|
||||
|
||||
<h3>Package com.ibm.icu.lang</h3>
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>UScript.ScriptUsage</i></li>
|
||||
UScript
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final boolean <i>breaksBetweenLetters</i>(int)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final java.lang.String <i>getSampleString</i>(int)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final UScript.ScriptUsage <i>getUsage</i>(int)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final boolean <i>isCased</i>(int)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final boolean <i>isRightToLeft</i>(int)</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<h3>Package com.ibm.icu.text</h3>
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>AlphabeticIndex.ImmutableIndex</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public final class <i>DisplayContext</i></li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final class <i>DisplayContext.Type</i></li>
|
||||
AlphabeticIndex
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public <i>AlphabeticIndex</i>(RuleBasedCollator)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public AlphabeticIndex.ImmutableIndex<V> <i>buildImmutableIndex</i>()</li>
|
||||
</ul>
|
||||
CompactDecimalFormat
|
||||
<ul>
|
||||
<li><span style='color:green'>(stable)</span> public boolean <i>equals</i>(java.lang.Object)</li>
|
||||
</ul>
|
||||
CurrencyMetaInfo.CurrencyFilter
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static CurrencyMetaInfo.CurrencyFilter <i>onDate</i>(long)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static CurrencyMetaInfo.CurrencyFilter <i>onDateRange</i>(long, long)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static CurrencyMetaInfo.CurrencyFilter <i>onTender</i>()</li>
|
||||
<li><span style='color:orange'>(draft)</span> public CurrencyMetaInfo.CurrencyFilter <i>withDate</i>(long)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public CurrencyMetaInfo.CurrencyFilter <i>withDateRange</i>(long, long)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public CurrencyMetaInfo.CurrencyFilter <i>withTender</i>()</li>
|
||||
</ul>
|
||||
CurrencyMetaInfo.CurrencyInfo
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public boolean <i>isTender</i>()</li>
|
||||
</ul>
|
||||
DateFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final int TIMEZONE_ISO_FIELD</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final int TIMEZONE_ISO_LOCAL_FIELD</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static final int TIMEZONE_LOCALIZED_GMT_OFFSET_FIELD</li>
|
||||
</ul>
|
||||
DateFormatSymbols
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public static final int SHORT</li>
|
||||
</ul>
|
||||
DecimalFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public int <i>getParseMaxDigits</i>()</li>
|
||||
<li><span style='color:orange'>(draft)</span> public void <i>setParseMaxDigits</i>(int)</li>
|
||||
</ul>
|
||||
LocaleDisplayNames
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public abstract DisplayContext <i>getContext</i>(DisplayContext.Type)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public static LocaleDisplayNames <i>getInstance</i>(ULocale, DisplayContext...)</li>
|
||||
</ul>
|
||||
SimpleDateFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public DisplayContext <i>getContext</i>(DisplayContext.Type)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public void <i>setContext</i>(DisplayContext)</li>
|
||||
</ul>
|
||||
TimeZoneFormat
|
||||
<ul>
|
||||
<li><span style='color:orange'>(draft)</span> public final java.lang.String <i>formatOffsetISO8601Basic</i>(int, boolean, boolean, boolean)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public final java.lang.String <i>formatOffsetISO8601Extended</i>(int, boolean, boolean, boolean)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public java.lang.String <i>formatOffsetShortLocalizedGMT</i>(int)</li>
|
||||
<li><span style='color:orange'>(draft)</span> public int <i>parseOffsetShortLocalizedGMT</i>(java.lang.String, java.text.ParsePosition)</li>
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<hr/>
|
||||
<p><i><font size="-1">Contents generated by ReportAPI tool on Wed Oct 17 17:58:20 EDT 2012<br/>Copyright (C) 2012, International Business Machines Corporation, All Rights Reserved.</font></i></p>
|
||||
<p><i><font size="-1">Contents generated by ReportAPI tool on Tue Feb 19 14:07:28 EST 2013<br/>Copyright (C) 2013, International Business Machines Corporation, All Rights Reserved.</font></i></p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#*******************************************************************************
|
||||
#* Copyright (C) 2009-2012, International Business Machines Corporation and *
|
||||
#* Copyright (C) 2009-2013, International Business Machines Corporation and *
|
||||
#* others. All Rights Reserved. *
|
||||
#*******************************************************************************
|
||||
api.report.version = 51m1
|
||||
api.report.version = 51
|
||||
api.report.prev.version = 50
|
||||
release.file.ver = 51m1
|
||||
api.doc.version = 51 Milestone 1
|
||||
release.file.ver = 51rc
|
||||
api.doc.version = 51 Release Candidate
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/**
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2006-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 2006-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*
|
||||
|
@ -943,8 +943,7 @@ public abstract class CharsetEncoderICU extends CharsetEncoder {
|
|||
* that will be used.
|
||||
* @return Size of a buffer that will be large enough to hold the output of bytes
|
||||
*
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static int getMaxBytesForString(int length, int maxCharSize) {
|
||||
return ((length + 10) * maxCharSize);
|
||||
|
|
|
@ -1039,8 +1039,7 @@ public final class UScript {
|
|||
* @param c code point
|
||||
* @param sc script code
|
||||
* @return true if sc is in Script_Extensions(c)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final boolean hasScript(int c, int sc) {
|
||||
int scriptX=UCharacterProperty.INSTANCE.getAdditional(c, 0)&UCharacterProperty.SCRIPT_X_MASK;
|
||||
|
@ -1090,8 +1089,7 @@ public final class UScript {
|
|||
* corresponding to c's Script_Extensions
|
||||
* @return negative number of script codes in c's Script_Extensions,
|
||||
* or the non-negative single Script value
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final int getScriptExtensions(int c, BitSet set) {
|
||||
set.clear();
|
||||
|
|
|
@ -45,8 +45,7 @@ import com.ibm.icu.util.ULocale;
|
|||
* NumberFormat.
|
||||
*
|
||||
* @author markdavis
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public class CompactDecimalFormat extends DecimalFormat {
|
||||
|
||||
|
@ -159,6 +158,7 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
* A collection of strings for debugging. If null on input, then any errors found will be added to that
|
||||
* collection instead of throwing exceptions.
|
||||
* @internal
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
public CompactDecimalFormat(String pattern, DecimalFormatSymbols formatSymbols, String[] prefix, String[] suffix,
|
||||
long[] divisor, Collection<String> debugCreationErrors, CompactStyle style, String[] currencyAffixes) {
|
||||
|
@ -214,6 +214,10 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
setCurrency(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == null)
|
||||
|
@ -244,8 +248,7 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {
|
||||
|
@ -274,8 +277,7 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {
|
||||
|
@ -284,8 +286,7 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {
|
||||
|
@ -294,8 +295,7 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public StringBuffer format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {
|
||||
|
@ -304,8 +304,7 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public StringBuffer format(com.ibm.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {
|
||||
|
@ -314,8 +313,7 @@ public class CompactDecimalFormat extends DecimalFormat {
|
|||
|
||||
/**
|
||||
* Parsing is currently unsupported, and throws an UnsupportedOperationException.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public Number parse(String text, ParsePosition parsePosition) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2009-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 2009-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -47,8 +47,7 @@ public abstract class CurrencyDisplayNames {
|
|||
* @param locale the locale into which to localize the names
|
||||
* @param noSubstitute if true, do not return substitute values.
|
||||
* @return a CurrencyDisplayNames
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static CurrencyDisplayNames getInstance(ULocale locale, boolean noSubstitute) {
|
||||
return CurrencyData.provider.getInstance(locale, !noSubstitute);
|
||||
|
@ -68,8 +67,7 @@ public abstract class CurrencyDisplayNames {
|
|||
* Returns the locale used to determine how to translate the currency names.
|
||||
* This is not necessarily the same locale passed to {@link #getInstance(ULocale)}.
|
||||
* @return the display locale
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public abstract ULocale getULocale();
|
||||
|
||||
|
|
|
@ -46,8 +46,7 @@ public class CurrencyMetaInfo {
|
|||
* noSubstitute is true and there is no data to support this API.
|
||||
* @param noSubstitute true if no substitute data should be used
|
||||
* @return the meta info, or null
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static CurrencyMetaInfo getInstance(boolean noSubstitute) {
|
||||
return hasData ? impl : null;
|
||||
|
@ -179,8 +178,7 @@ public class CurrencyMetaInfo {
|
|||
* or if equal to from, the date on which a currency must have been in use
|
||||
* @return a filter
|
||||
* @see #withDateRange(Date, Date)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static CurrencyFilter onDateRange(Date from, Date to) {
|
||||
return ALL.withDateRange(from, to);
|
||||
|
@ -259,8 +257,7 @@ public class CurrencyMetaInfo {
|
|||
* @param to date on or before which the currency must have been in use
|
||||
* @return the filter
|
||||
* @see #onDateRange(Date, Date)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public CurrencyFilter withDateRange(Date from, Date to) {
|
||||
long fromLong = from == null ? Long.MIN_VALUE : from.getTime();
|
||||
|
@ -369,14 +366,12 @@ public class CurrencyMetaInfo {
|
|||
public static final class CurrencyDigits {
|
||||
/**
|
||||
* Number of fraction digits used to display this currency.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public final int fractionDigits;
|
||||
/**
|
||||
* Rounding increment used when displaying this currency.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public final int roundingIncrement;
|
||||
|
||||
|
@ -441,8 +436,7 @@ public class CurrencyMetaInfo {
|
|||
* Preference order of currencies being used at the same time in the region. Lower
|
||||
* values are preferred (generally, this is a transition from an older to a newer
|
||||
* currency). Priorities within a single country are unique.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public final int priority;
|
||||
|
||||
|
|
|
@ -402,8 +402,7 @@ public abstract class DateFormat extends UFormat {
|
|||
* {@icu} FieldPosition selector for 'U' field alignment,
|
||||
* corresponding to the {@link Calendar#YEAR} field.
|
||||
* This displays the cyclic year name, if available.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public final static int YEAR_NAME_FIELD = 30;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1996-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 1996-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -1757,8 +1757,7 @@ public class DecimalFormat extends NumberFormat {
|
|||
* have 0 <= pos.getIndex() < text.length(); on output, the position after the last
|
||||
* matched character. If the parse fails, the position in unchanged upon output.
|
||||
* @return a CurrencyAmount, or null upon failure
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public CurrencyAmount parseCurrency(CharSequence text, ParsePosition pos) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2009-2012, International Business Machines
|
||||
* Copyright (C) 2009-2013, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -89,8 +89,7 @@ public class FilteredNormalizer2 extends Normalizer2 {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public String getRawDecomposition(int c) {
|
||||
|
@ -99,8 +98,7 @@ public class FilteredNormalizer2 extends Normalizer2 {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public int composePair(int a, int b) {
|
||||
|
@ -109,8 +107,7 @@ public class FilteredNormalizer2 extends Normalizer2 {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public int getCombiningClass(int c) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2003-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 2003-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -115,8 +115,7 @@ public abstract class IDNA {
|
|||
* (The CONTEXTO check is new in IDNA2008.)
|
||||
* <p>This is for use by registries for IDNA2008 conformance.
|
||||
* UTS #46 does not require the CONTEXTO check.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final int CHECK_CONTEXTO = 0x40;
|
||||
|
||||
|
@ -435,15 +434,13 @@ public abstract class IDNA {
|
|||
* A label does not meet the IDNA CONTEXTO requirements for punctuation characters.
|
||||
* Some punctuation characters "Would otherwise have been DISALLOWED"
|
||||
* but are allowed in certain contexts. (RFC 5892)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
CONTEXTO_PUNCTUATION,
|
||||
/**
|
||||
* A label does not meet the IDNA CONTEXTO requirements for digits.
|
||||
* Arabic-Indic Digits (U+066x) must not be mixed with Extended Arabic-Indic Digits (U+06Fx).
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
CONTEXTO_DIGITS
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2011-2012, International Business Machines
|
||||
* Copyright (C) 2011-2013, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*******************************************************************************
|
||||
* created on: 2011jul14
|
||||
|
@ -22,8 +22,7 @@ import java.util.List;
|
|||
* Each of the nested classes is immutable and thread-safe.
|
||||
*
|
||||
* <p>This class and its nested classes are not intended for public subclassing.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
* @author Markus Scherer
|
||||
*/
|
||||
public final class MessagePatternUtil {
|
||||
|
@ -38,8 +37,7 @@ public final class MessagePatternUtil {
|
|||
* @return a MessageNode or a ComplexArgStyleNode
|
||||
* @throws IllegalArgumentException if the MessagePattern is empty
|
||||
* or does not represent a MessageFormat pattern
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static MessageNode buildMessageNode(String patternString) {
|
||||
return buildMessageNode(new MessagePattern(patternString));
|
||||
|
@ -51,8 +49,7 @@ public final class MessagePatternUtil {
|
|||
* @return a MessageNode or a ComplexArgStyleNode
|
||||
* @throws IllegalArgumentException if the MessagePattern is empty
|
||||
* or does not represent a MessageFormat pattern
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static MessageNode buildMessageNode(MessagePattern pattern) {
|
||||
int limit = pattern.countParts() - 1;
|
||||
|
@ -69,8 +66,7 @@ public final class MessagePatternUtil {
|
|||
* Common base class for all elements in a tree of nodes
|
||||
* returned by {@link MessagePatternUtil#buildMessageNode(MessagePattern)}.
|
||||
* This class and all subclasses are immutable and thread-safe.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static class Node {
|
||||
private Node() {}
|
||||
|
@ -78,22 +74,19 @@ public final class MessagePatternUtil {
|
|||
|
||||
/**
|
||||
* A Node representing a parsed MessageFormat pattern string.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static class MessageNode extends Node {
|
||||
/**
|
||||
* @return the list of MessageContentsNode nodes that this message contains
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public List<MessageContentsNode> getContents() {
|
||||
return list;
|
||||
}
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
|
@ -126,49 +119,42 @@ public final class MessagePatternUtil {
|
|||
/**
|
||||
* A piece of MessageNode contents.
|
||||
* Use getType() to determine the type and the actual Node subclass.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static class MessageContentsNode extends Node {
|
||||
/**
|
||||
* The type of a piece of MessageNode contents.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public enum Type {
|
||||
/**
|
||||
* This is a TextNode containing literal text (downcast and call getText()).
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
TEXT,
|
||||
/**
|
||||
* This is an ArgNode representing a message argument
|
||||
* (downcast and use specific methods).
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
ARG,
|
||||
/**
|
||||
* This Node represents a place in a plural argument's variant where
|
||||
* the formatted (plural-offset) value is to be put.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
REPLACE_NUMBER
|
||||
}
|
||||
/**
|
||||
* Returns the type of this piece of MessageNode contents.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public Type getType() {
|
||||
return type;
|
||||
}
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
|
@ -192,22 +178,19 @@ public final class MessagePatternUtil {
|
|||
|
||||
/**
|
||||
* Literal text, a piece of MessageNode contents.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static class TextNode extends MessageContentsNode {
|
||||
/**
|
||||
* @return the literal text at this point in the message
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public String getText() {
|
||||
return text;
|
||||
}
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
|
@ -224,38 +207,33 @@ public final class MessagePatternUtil {
|
|||
|
||||
/**
|
||||
* A piece of MessageNode contents representing a message argument and its details.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static class ArgNode extends MessageContentsNode {
|
||||
/**
|
||||
* @return the argument type
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public MessagePattern.ArgType getArgType() {
|
||||
return argType;
|
||||
}
|
||||
/**
|
||||
* @return the argument name string (the decimal-digit string if the argument has a number)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
/**
|
||||
* @return the argument number, or -1 if none (for a named argument)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public int getNumber() {
|
||||
return number;
|
||||
}
|
||||
/**
|
||||
* @return the argument type string, or null if none was specified
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public String getTypeName() {
|
||||
return typeName;
|
||||
|
@ -263,8 +241,7 @@ public final class MessagePatternUtil {
|
|||
/**
|
||||
* @return the simple-argument style string,
|
||||
* or null if no style is specified and for other argument types
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public String getSimpleStyle() {
|
||||
return style;
|
||||
|
@ -272,16 +249,14 @@ public final class MessagePatternUtil {
|
|||
/**
|
||||
* @return the complex-argument-style object,
|
||||
* or null if the argument type is NONE_ARG or SIMPLE_ARG
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public ComplexArgStyleNode getComplexStyle() {
|
||||
return complexStyle;
|
||||
}
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
|
@ -318,22 +293,19 @@ public final class MessagePatternUtil {
|
|||
/**
|
||||
* A Node representing details of the argument style of a complex argument.
|
||||
* (Which is a choice/plural/select argument which selects among nested messages.)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static class ComplexArgStyleNode extends Node {
|
||||
/**
|
||||
* @return the argument type (same as getArgType() on the parent ArgNode)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public MessagePattern.ArgType getArgType() {
|
||||
return argType;
|
||||
}
|
||||
/**
|
||||
* @return true if this is a plural style with an explicit offset
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public boolean hasExplicitOffset() {
|
||||
return explicitOffset;
|
||||
|
@ -341,16 +313,14 @@ public final class MessagePatternUtil {
|
|||
/**
|
||||
* @return the plural offset, or 0 if this is not a plural style or
|
||||
* the offset is explicitly or implicitly 0
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public double getOffset() {
|
||||
return offset;
|
||||
}
|
||||
/**
|
||||
* @return the list of variants: the nested messages with their selection criteria
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public List<VariantNode> getVariants() {
|
||||
return list;
|
||||
|
@ -369,8 +339,7 @@ public final class MessagePatternUtil {
|
|||
* and PluralRules need not be called.
|
||||
* @return the "other" variant (the first one if there are several),
|
||||
* null if none (choice style)
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public VariantNode getVariantsByType(List<VariantNode> numericVariants,
|
||||
List<VariantNode> keywordVariants) {
|
||||
|
@ -395,8 +364,7 @@ public final class MessagePatternUtil {
|
|||
}
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
|
@ -429,8 +397,7 @@ public final class MessagePatternUtil {
|
|||
/**
|
||||
* A Node representing a nested message (nested inside an argument)
|
||||
* with its selection criterium.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static class VariantNode extends Node {
|
||||
/**
|
||||
|
@ -438,40 +405,35 @@ public final class MessagePatternUtil {
|
|||
* For example: A plural/select keyword ("few"), a plural explicit value ("=1"),
|
||||
* a choice comparison operator ("#").
|
||||
* @return the selector string
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public String getSelector() {
|
||||
return selector;
|
||||
}
|
||||
/**
|
||||
* @return true for choice variants and for plural explicit values
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public boolean isSelectorNumeric() {
|
||||
return numericValue != MessagePattern.NO_NUMERIC_VALUE;
|
||||
}
|
||||
/**
|
||||
* @return the selector's numeric value, or NO_NUMERIC_VALUE if !isSelectorNumeric()
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public double getSelectorValue() {
|
||||
return numericValue;
|
||||
}
|
||||
/**
|
||||
* @return the nested message
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public MessageNode getMessage() {
|
||||
return msgNode;
|
||||
}
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2009-2012, International Business Machines
|
||||
* Copyright (C) 2009-2013, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -110,8 +110,7 @@ public abstract class Normalizer2 {
|
|||
* Same as getInstance(null, "nfc", Mode.COMPOSE).
|
||||
* Returns an unmodifiable singleton instance.
|
||||
* @return the requested Normalizer2, if successful
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static Normalizer2 getNFCInstance() {
|
||||
return Norm2AllModes.getNFCInstance().comp;
|
||||
|
@ -122,8 +121,7 @@ public abstract class Normalizer2 {
|
|||
* Same as getInstance(null, "nfc", Mode.DECOMPOSE).
|
||||
* Returns an unmodifiable singleton instance.
|
||||
* @return the requested Normalizer2, if successful
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static Normalizer2 getNFDInstance() {
|
||||
return Norm2AllModes.getNFCInstance().decomp;
|
||||
|
@ -134,8 +132,7 @@ public abstract class Normalizer2 {
|
|||
* Same as getInstance(null, "nfkc", Mode.COMPOSE).
|
||||
* Returns an unmodifiable singleton instance.
|
||||
* @return the requested Normalizer2, if successful
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static Normalizer2 getNFKCInstance() {
|
||||
return Norm2AllModes.getNFKCInstance().comp;
|
||||
|
@ -146,8 +143,7 @@ public abstract class Normalizer2 {
|
|||
* Same as getInstance(null, "nfkc", Mode.DECOMPOSE).
|
||||
* Returns an unmodifiable singleton instance.
|
||||
* @return the requested Normalizer2, if successful
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static Normalizer2 getNFKDInstance() {
|
||||
return Norm2AllModes.getNFKCInstance().decomp;
|
||||
|
@ -158,8 +154,7 @@ public abstract class Normalizer2 {
|
|||
* Same as getInstance(null, "nfkc_cf", Mode.COMPOSE).
|
||||
* Returns an unmodifiable singleton instance.
|
||||
* @return the requested Normalizer2, if successful
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static Normalizer2 getNFKCCasefoldInstance() {
|
||||
return Norm2AllModes.getNFKC_CFInstance().comp;
|
||||
|
@ -296,8 +291,7 @@ public abstract class Normalizer2 {
|
|||
* The default implementation returns null.
|
||||
* @param c code point
|
||||
* @return c's raw decomposition mapping, if any; otherwise null
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public String getRawDecomposition(int c) { return null; }
|
||||
|
||||
|
@ -314,8 +308,7 @@ public abstract class Normalizer2 {
|
|||
* @param a A (normalization starter) code point.
|
||||
* @param b Another code point.
|
||||
* @return The non-negative composite code point if there is one; otherwise a negative value.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public int composePair(int a, int b) { return -1; }
|
||||
|
||||
|
@ -325,8 +318,7 @@ public abstract class Normalizer2 {
|
|||
* but all standard implementations return the Unicode Canonical_Combining_Class value.
|
||||
* @param c code point
|
||||
* @return c's combining class
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public int getCombiningClass(int c) { return 0; }
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1996-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 1996-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -433,8 +433,7 @@ public abstract class NumberFormat extends UFormat {
|
|||
* on output, the position after the last matched character. If
|
||||
* the parse fails, the position in unchanged upon output.
|
||||
* @return a CurrencyAmount, or null upon failure
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public CurrencyAmount parseCurrency(CharSequence text, ParsePosition pos) {
|
||||
///CLOVER:OFF
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1996-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 1996-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -1364,8 +1364,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
|
|||
*
|
||||
* @param newSymbols desired DecimalFormatSymbols
|
||||
* @see DecimalFormatSymbols
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols) {
|
||||
if (newSymbols != null) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 1996-2012, International Business Machines
|
||||
* Copyright (C) 1996-2013, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*/
|
||||
|
||||
|
@ -1173,8 +1173,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
* @see #getRepeatedWallTimeOption()
|
||||
* @see #setSkippedWallTimeOption(int)
|
||||
* @see #getSkippedWallTimeOption()
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final int WALLTIME_LAST = 0;
|
||||
|
||||
|
@ -1186,8 +1185,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
* @see #getRepeatedWallTimeOption()
|
||||
* @see #setSkippedWallTimeOption(int)
|
||||
* @see #getSkippedWallTimeOption()
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final int WALLTIME_FIRST = 1;
|
||||
|
||||
|
@ -1196,8 +1194,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
* ambiguous wall time to be interpreted as the next valid wall time.
|
||||
* @see #setSkippedWallTimeOption(int)
|
||||
* @see #getSkippedWallTimeOption()
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final int WALLTIME_NEXT_VALID = 2;
|
||||
|
||||
|
@ -4030,8 +4027,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
* @see #WALLTIME_FIRST
|
||||
* @see #WALLTIME_LAST
|
||||
*
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public void setRepeatedWallTimeOption(int option) {
|
||||
if (option != WALLTIME_LAST && option != WALLTIME_FIRST) {
|
||||
|
@ -4051,8 +4047,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
* @see #WALLTIME_FIRST
|
||||
* @see #WALLTIME_LAST
|
||||
*
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public int getRepeatedWallTimeOption() {
|
||||
return repeatedWallTime;
|
||||
|
@ -4083,8 +4078,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
* @see #WALLTIME_LAST
|
||||
* @see #WALLTIME_NEXT_VALID
|
||||
*
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public void setSkippedWallTimeOption(int option) {
|
||||
if (option != WALLTIME_LAST && option != WALLTIME_FIRST && option != WALLTIME_NEXT_VALID) {
|
||||
|
@ -4105,8 +4099,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca
|
|||
* @see #WALLTIME_LAST
|
||||
* @see #WALLTIME_NEXT_VALID
|
||||
*
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public int getSkippedWallTimeOption() {
|
||||
return skippedWallTime;
|
||||
|
|
|
@ -58,8 +58,7 @@ public final class LocaleData {
|
|||
|
||||
/**
|
||||
* EXType for {@link #getExemplarSet(int, int)}.
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final int ES_PUNCTUATION = 4;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2007-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 2007-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -191,8 +191,7 @@ public class RuleBasedTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public boolean observesDaylightTime() {
|
||||
|
@ -764,8 +763,7 @@ public class RuleBasedTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public boolean isFrozen() {
|
||||
return isFrozen;
|
||||
|
@ -773,8 +771,7 @@ public class RuleBasedTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone freeze() {
|
||||
complete();
|
||||
|
@ -784,8 +781,7 @@ public class RuleBasedTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone cloneAsThawed() {
|
||||
RuleBasedTimeZone tz = (RuleBasedTimeZone)super.cloneAsThawed();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 1996-2012, International Business Machines
|
||||
* Copyright (C) 1996-2013, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*/
|
||||
|
||||
|
@ -958,8 +958,7 @@ public class SimpleTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public boolean observesDaylightTime() {
|
||||
return useDaylight;
|
||||
|
@ -1413,8 +1412,7 @@ public class SimpleTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public boolean isFrozen() {
|
||||
return isFrozen;
|
||||
|
@ -1422,8 +1420,7 @@ public class SimpleTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone freeze() {
|
||||
isFrozen = true;
|
||||
|
@ -1432,8 +1429,7 @@ public class SimpleTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone cloneAsThawed() {
|
||||
SimpleTimeZone tz = (SimpleTimeZone)super.cloneAsThawed();
|
||||
|
|
|
@ -242,16 +242,14 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezable<Tim
|
|||
* @see #UNKNOWN_ZONE_ID
|
||||
* @see #getTimeZone(String)
|
||||
*
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final TimeZone UNKNOWN_ZONE = new SimpleTimeZone(0, UNKNOWN_ZONE_ID).freeze();
|
||||
|
||||
/**
|
||||
* {@icu} The immutable GMT (=UTC) time zone. Its ID is "Etc/GMT".
|
||||
*
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static final TimeZone GMT_ZONE = new SimpleTimeZone(0, GMT_ZONE_ID).freeze();
|
||||
|
||||
|
@ -716,8 +714,7 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezable<Tim
|
|||
* @return the specified <code>TimeZone</code>, or the UNKNOWN_ZONE
|
||||
* if the given ID cannot be understood.
|
||||
* @see #UNKNOWN_ZONE
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public static TimeZone getFrozenTimeZone(String ID) {
|
||||
return getTimeZone(ID, TZ_IMPL, true);
|
||||
|
@ -1119,8 +1116,7 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezable<Tim
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public boolean isFrozen() {
|
||||
return false;
|
||||
|
@ -1128,8 +1124,7 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezable<Tim
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone freeze() {
|
||||
throw new UnsupportedOperationException("Needs to be implemented by the subclass.");
|
||||
|
@ -1137,8 +1132,7 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezable<Tim
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone cloneAsThawed() {
|
||||
try {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2007-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 2007-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -142,8 +142,7 @@ public class VTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
@Override
|
||||
public boolean observesDaylightTime() {
|
||||
|
@ -2084,8 +2083,7 @@ public class VTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public boolean isFrozen() {
|
||||
return isFrozen;
|
||||
|
@ -2093,8 +2091,7 @@ public class VTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone freeze() {
|
||||
isFrozen = true;
|
||||
|
@ -2103,8 +2100,7 @@ public class VTimeZone extends BasicTimeZone {
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @draft ICU 49
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @stable ICU 49
|
||||
*/
|
||||
public TimeZone cloneAsThawed() {
|
||||
VTimeZone vtz = (VTimeZone)super.cloneAsThawed();
|
||||
|
|
Loading…
Add table
Reference in a new issue