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) {
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java b/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java
index e73f2565e26..4e04d6b7234 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java
@@ -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();
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyMetaInfo.java b/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyMetaInfo.java
index d55ec85ef85..54afc29308b 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyMetaInfo.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyMetaInfo.java
@@ -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;
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java
index dd3533c4c1d..a4912596bbb 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java
@@ -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;
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java
index bf9fbb479cf..1c196138780 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DecimalFormat.java
@@ -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) {
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/FilteredNormalizer2.java b/icu4j/main/classes/core/src/com/ibm/icu/text/FilteredNormalizer2.java
index dea4e60b87b..452841012c3 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/FilteredNormalizer2.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/FilteredNormalizer2.java
@@ -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) {
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/IDNA.java b/icu4j/main/classes/core/src/com/ibm/icu/text/IDNA.java
index 0187b41f712..7a6078500f0 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/IDNA.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/IDNA.java
@@ -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.)
* 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
}
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePatternUtil.java b/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePatternUtil.java
index 929affc0fbf..85205c05068 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePatternUtil.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePatternUtil.java
@@ -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.
*
*
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 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 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 numericVariants,
List 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() {
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/Normalizer2.java b/icu4j/main/classes/core/src/com/ibm/icu/text/Normalizer2.java
index 5fb5ded49ea..4553780c7ca 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/Normalizer2.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/Normalizer2.java
@@ -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; }
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/NumberFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/NumberFormat.java
index e9b9d72494c..6b46271f23c 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/NumberFormat.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/NumberFormat.java
@@ -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
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedNumberFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedNumberFormat.java
index 6bef02f1f53..63169d455b8 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedNumberFormat.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/RuleBasedNumberFormat.java
@@ -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) {
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java b/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java
index 2bfd848ac75..f8a9e753ed9 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java
@@ -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, ComparableTimeZone, 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