다음을 통해 공유


Currency.GetAvailableCurrencyCodes Method

Definition

Overloads

GetAvailableCurrencyCodes(Locale, Date)

Returns an array of Strings which contain the currency identifiers that are valid for the given java.util.Locale on the given date.

GetAvailableCurrencyCodes(ULocale, Date)

Returns an array of Strings which contain the currency identifiers that are valid for the given locale on the given date.

GetAvailableCurrencyCodes(Locale, Date)

Returns an array of Strings which contain the currency identifiers that are valid for the given java.util.Locale on the given date.

[Android.Runtime.Register("getAvailableCurrencyCodes", "(Ljava/util/Locale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)]
public static string[]? GetAvailableCurrencyCodes (Java.Util.Locale? loc, Java.Util.Date? d);
[<Android.Runtime.Register("getAvailableCurrencyCodes", "(Ljava/util/Locale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)>]
static member GetAvailableCurrencyCodes : Java.Util.Locale * Java.Util.Date -> string[]

Parameters

loc
Locale

the java.util.Locale for which to retrieve currency codes.

d
Date

the date for which to retrieve currency codes for the given locale.

Returns

String[]

The array of ISO currency codes.

Attributes

Remarks

Returns an array of Strings which contain the currency identifiers that are valid for the given java.util.Locale on the given date. If there are no such identifiers, returns null. Returned identifiers are in preference order.

Java documentation for android.icu.util.Currency.getAvailableCurrencyCodes(java.util.Locale, java.util.Date).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetAvailableCurrencyCodes(ULocale, Date)

Returns an array of Strings which contain the currency identifiers that are valid for the given locale on the given date.

[Android.Runtime.Register("getAvailableCurrencyCodes", "(Landroid/icu/util/ULocale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)]
public static string[]? GetAvailableCurrencyCodes (Android.Icu.Util.ULocale? loc, Java.Util.Date? d);
[<Android.Runtime.Register("getAvailableCurrencyCodes", "(Landroid/icu/util/ULocale;Ljava/util/Date;)[Ljava/lang/String;", "", ApiSince=24)>]
static member GetAvailableCurrencyCodes : Android.Icu.Util.ULocale * Java.Util.Date -> string[]

Parameters

loc
ULocale

the locale for which to retrieve currency codes.

d
Date

the date for which to retrieve currency codes for the given locale.

Returns

String[]

The array of ISO currency codes.

Attributes

Remarks

Returns an array of Strings which contain the currency identifiers that are valid for the given locale on the given date. If there are no such identifiers, returns null. Returned identifiers are in preference order.

Java documentation for android.icu.util.Currency.getAvailableCurrencyCodes(android.icu.util.ULocale, java.util.Date).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to