
public interface CurrencyMapper extends CurrencyDirectory
Currency instances to various codes.
jDTAUS Banking SPI CurrencyMapper specification to be used by implementations to map Currency
instances to codes and vice versa.
Container| Modifier and Type | Method and Description |
|---|---|
char |
getDtausCode(Currency currency,
Date date)
Gets the DTAUS code for a currency at a given date.
|
Currency |
getDtausCurrency(char code,
Date date)
Gets the currency for a DTAUS code at a given date.
|
getDtausCurrencieschar getDtausCode(Currency currency, Date date)
currency - The currency to return the corresponding DTAUS code for.date - The date to return the DTAUS code for.currency at date.NullPointerException - if either currency or date is null.UnsupportedCurrencyException - if currency is not known to the directory at date.Currency getDtausCurrency(char code, Date date)
code - The DTAUS code to return the corresponding currency for.date - The date to return the currency for.code at date or null if no currency matching
code is known to the directory at date.NullPointerException - if date is null.Copyright © 2005–2014 jDTAUS. All rights reserved.