getExchangeRate(final Currency, final Currency) method

Find the newest Exchange rate for the given two currencies.

Syntax

ExchangeRate getExchangeRate ( final Currency from , final Currency to )

Parameters

Returns

the exchange rate or null if none is found

Usage

the exchange rate or null if none is found