ICU-10399 Added @provisional tag to @draft APIs.

X-SVN-Rev: 34454
This commit is contained in:
Yoshito Umaoka 2013-09-23 15:10:45 +00:00
parent 0111b99f92
commit c1839fae2c
3 changed files with 10 additions and 0 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;