Find the newest Exchange rate for the given two currencies.
Syntax
ExchangeRate
getExchangeRate
(
final Currency
from
,
final Currency
to
,
final Date
validAt
)
Parameters
-
from –
the from currency
-
to –
the to currency
-
validAt –
the rate must be of the same age or older than the given date.
Returns
the exchange rate or null if none is found
Usage
the exchange rate or null if none is found