public class DefaultCurrencyCalculatorConfig extends Object implements CurrencyCalculatorConfig
Constructor and Description |
---|
DefaultCurrencyCalculatorConfig() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getCurrenciesSubjectToCrossCcyForT1(String crossCcy) |
WorkingWeek |
getWorkingWeek(String currency)
Return a default Mon-Fri for most, but some might be Sun-Thu (Arabic countries).
|
void |
setCurrenciesSubjectToCrossCcyForT1(Map<String,Set<String>> currenciesSubjectToCrossCcyForT1)
Will take a copy of a non null set but doing so by replacing the internal one in one go for consistency.
|
void |
setWorkingWeeks(Map<String,WorkingWeek> workingWeeks)
Will take a copy of a non null map but doing so by replacing the internal one in one go for consistency.
|
public void setCurrenciesSubjectToCrossCcyForT1(Map<String,Set<String>> currenciesSubjectToCrossCcyForT1)
public void setWorkingWeeks(Map<String,WorkingWeek> workingWeeks)
public Set<String> getCurrenciesSubjectToCrossCcyForT1(String crossCcy)
getCurrenciesSubjectToCrossCcyForT1
in interface CurrencyCalculatorConfig
crossCcy
- the cross currency usedpublic WorkingWeek getWorkingWeek(String currency)
getWorkingWeek
in interface CurrencyCalculatorConfig
currency
- Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.