DecimalFormatSymbols.GetPatternForCurrencySpacing 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
<strong>[icu]</strong> 回傳所需的貨幣間距值。
[Android.Runtime.Register("getPatternForCurrencySpacing", "(IZ)Ljava/lang/String;", "GetGetPatternForCurrencySpacing_IZHandler", ApiSince=24)]
public virtual string? GetPatternForCurrencySpacing(Android.Icu.Text.CurrencySpacing itemType, bool beforeCurrency);
[<Android.Runtime.Register("getPatternForCurrencySpacing", "(IZ)Ljava/lang/String;", "GetGetPatternForCurrencySpacing_IZHandler", ApiSince=24)>]
abstract member GetPatternForCurrencySpacing : Android.Icu.Text.CurrencySpacing * bool -> string
override this.GetPatternForCurrencySpacing : Android.Icu.Text.CurrencySpacing * bool -> string
參數
- itemType
- CurrencySpacing
CURRENCY_SPC_CURRENCY_MATCH、CURRENCY_SPC_SURROUNDING_MATCH或CURRENCY_SPC_INSERT
- beforeCurrency
- Boolean
真以取得 beforeCurrency 數值,假以取得 afterCurrency 數值。
傳回
值,或為零。
- 屬性
備註
<strong>[icu]</strong> 回傳所需的貨幣間距值。 原始數值來自加護病房基於施工期間提供的地點的 CLDR 資料,且可能為空值。 這些數值決定在貨幣代碼/名稱/符號與貨幣金額之間插入什麼以及何時插入文字,以反映貨幣格式化。
更多資訊請參閱 UTS#35 第 5.10.2 節。
Java 文件 android.icu.text.DecimalFormatSymbols.getPatternForCurrencySpacing(int, boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。