ICU-9072 modify CurrencyDisplayNames API - update revision tags

X-SVN-Rev: 31521
This commit is contained in:
Doug Felt 2012-02-27 18:18:58 +00:00
parent 83c811726a
commit 9960ee3a3f
2 changed files with 11 additions and 7 deletions

View file

@ -13,6 +13,9 @@ import com.ibm.icu.util.ULocale;
/**
* Returns currency names localized for a locale.
*
* This class is not intended for public subclassing.
*
* @draft ICU 4.4
* @provisional This API might change or be removed in a future release.
*/
@ -46,7 +49,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 4.4
* @draft ICU 49
* @provisional This API might change or be removed in a future release.
*/
public static CurrencyDisplayNames getInstance(ULocale locale, boolean noSubstitute) {
@ -67,7 +70,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 4.4
* @draft ICU 49
* @provisional This API might change or be removed in a future release.
*/
public abstract ULocale getULocale();

View file

@ -28,6 +28,7 @@ import com.ibm.icu.util.TimeZone;
* time, you will not return a currency whose last day of availablilty was on
* that day, since the time you provided is after the start of the day.
*
* This class is not intended for public subclassing.
* @draft ICU 4.4
* @provisional This API might change or be removed in a future release.
*/
@ -190,7 +191,7 @@ public class CurrencyMetaInfo {
* the date on which a currency must have been in use
* @return a filter
* @see #withDateRange(Date, Date)
* @draft ICU 4.4
* @draft ICU 49
* @provisional This API might change or be removed in a future release.
*/
public static CurrencyFilter onDateRange(Date from, Date to) {
@ -241,7 +242,7 @@ public class CurrencyMetaInfo {
* @param to date before which the currency must have been in use
* @return the filter
* @see #onDateRange(Date, Date)
* @draft ICU 4.4
* @draft ICU 49
* @provisional This API might change or be removed in a future release.
*/
public CurrencyFilter withDateRange(Date from, Date to) {
@ -318,13 +319,13 @@ public class CurrencyMetaInfo {
public static final class CurrencyDigits {
/**
* Number of fraction digits used to display this currency.
* @draft ICU 4.4
* @draft ICU 49
* @provisional This API might change or be removed in a future release.
*/
public final int fractionDigits;
/**
* Rounding increment used when displaying this currency.
* @draft ICU 4.4
* @draft ICU 49
* @provisional This API might change or be removed in a future release.
*/
public final int roundingIncrement;
@ -396,7 +397,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 4.4
* @draft ICU 49
* @provisional This API might change or be removed in a future release.
*/
public final int priority;