Currency.IsAvailable(String, Date, Date) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Queries if the given ISO 4217 3-letter code is available on the specified date range.
[Android.Runtime.Register("isAvailable", "(Ljava/lang/String;Ljava/util/Date;Ljava/util/Date;)Z", "", ApiSince=24)]
public static bool IsAvailable (string? code, Java.Util.Date? from, Java.Util.Date? to);
[<Android.Runtime.Register("isAvailable", "(Ljava/lang/String;Ljava/util/Date;Ljava/util/Date;)Z", "", ApiSince=24)>]
static member IsAvailable : string * Java.Util.Date * Java.Util.Date -> bool
Parameters
- code
- String
The ISO 4217 3-letter code.
- from
- Date
The lower bound of the date range, inclusive. When from
is null, check the availability
of the currency any date before to
- to
- Date
The upper bound of the date range, inclusive. When to
is null, check the availability of
the currency any date after from
Returns
true if the given ISO 4217 3-letter code is supported on the specified date range.
- Attributes
Remarks
Queries if the given ISO 4217 3-letter code is available on the specified date range.
Note: For checking availability of a currency on a specific date, specify the date on both from
and to
. When both from
and to
are null, this method checks if the specified currency is available all time.
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.