From c1839fae2c32009377d4d94083215349d95d6784 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Mon, 23 Sep 2013 15:10:45 +0000 Subject: [PATCH] ICU-10399 Added @provisional tag to @draft APIs. X-SVN-Rev: 34454 --- .../core/src/com/ibm/icu/text/CurrencyMetaInfo.java | 7 +++++++ .../core/src/com/ibm/icu/text/DateFormatSymbols.java | 1 + .../classes/core/src/com/ibm/icu/text/DecimalFormat.java | 2 ++ 3 files changed, 10 insertions(+) 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 fd79114427e..9f98665e9c9 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 @@ -188,6 +188,7 @@ public class CurrencyMetaInfo { * Returns a filter that accepts all currencies in use on the given date. * @param date the date as milliseconds after Jan 1, 1970 * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public static CurrencyFilter onDate(long date) { return ALL.withDate(date); @@ -202,6 +203,7 @@ public class CurrencyMetaInfo { * @param to The date on or before which a currency must have been in use. * Measured in milliseconds since Jan 1, 1970 GMT. * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public static CurrencyFilter onDateRange(long from, long to) { return ALL.withDateRange(from, to); @@ -211,6 +213,7 @@ public class CurrencyMetaInfo { * Returns a CurrencyFilter for finding currencies that were either once used, * are used, or will be used as tender. * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public static CurrencyFilter onTender() { return ALL.withTender(); @@ -270,6 +273,7 @@ public class CurrencyMetaInfo { * the given date. * @param date the date as milliseconds after Jan 1, 1970 * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public CurrencyFilter withDate(long date) { return new CurrencyFilter(this.region, this.currency, date, date, this.tenderOnly); @@ -284,6 +288,7 @@ public class CurrencyMetaInfo { * @param to The date on or before which a currency must have been in use. * Measured in milliseconds since Jan 1, 1970 GMT. * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public CurrencyFilter withDateRange(long from, long to) { return new CurrencyFilter(this.region, this.currency, from, to, this.tenderOnly); @@ -293,6 +298,7 @@ public class CurrencyMetaInfo { * Returns a copy of this filter that filters for currencies that were * either once used, are used, or will be used as tender. * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public CurrencyFilter withTender() { return new CurrencyFilter(this.region, this.currency, this.from, this.to, true); @@ -481,6 +487,7 @@ public class CurrencyMetaInfo { * Determine whether or not this currency was once used, is used, * or will be used as tender in this region. * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public boolean isTender() { return tender; diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java index 4e751d50e1e..a2ab0d2848c 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java @@ -124,6 +124,7 @@ public class DateFormatSymbols implements Serializable, Cloneable { /** * {@icu} Constant for width; only supported for weekdays. * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public static final int SHORT = 3; 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 c34ba24fe17..e5bef2479df 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 @@ -5250,6 +5250,7 @@ public class DecimalFormat extends NumberFormat { * The default value is 1000. * @param newValue the new limit * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public void setParseMaxDigits(int newValue) { if (newValue > 0) { @@ -5262,6 +5263,7 @@ public class DecimalFormat extends NumberFormat { * number. * * @draft ICU 51 + * @provisional This API might change or be removed in a future release. */ public int getParseMaxDigits() { return PARSE_MAX_EXPONENT;