E - a representation of a date, typically JDK: Date, Calendar;
            Joda:LocalDate, YearMonthDay; JDK8: LocalDatepublic interface CurrencyDateCalculator<E>
| Modifier and Type | Method and Description | 
|---|---|
E | 
calculateSpotDate(E startDate)
Calculate the Spot Date taking into account the working weeks, holidays and spot lag (T+1, T+2 etc), the 
 calculator also takes into account special rules for Latin American Currencies or Arabic currencies. 
 | 
E | 
calculateTenorDate(E startDate,
                  Tenor tenor)
Calculate the Tenor Date from Spot Date taking into account the working weeks, holidays and spot lag (T+1, T+2 etc). 
 | 
List<E> | 
calculateTenorDates(E startDate,
                   List<Tenor> tenors)
Calculate a list of Tenor Dates from Spot Date taking into account the working weeks, holidays and spot lag (T+1, T+2 etc). 
 | 
String | 
getCcy1()  | 
ReadOnlyHolidayCalendar<E> | 
getCcy1Calendar()  | 
WorkingWeek | 
getCcy1Week()  | 
String | 
getCcy2()  | 
ReadOnlyHolidayCalendar<E> | 
getCcy2Calendar()  | 
WorkingWeek | 
getCcy2Week()  | 
String | 
getCrossCcy()
The cross currency used by this calculator. 
 | 
ReadOnlyHolidayCalendar<E> | 
getCrossCcyCalendar()
If enabled show the CrossCcy calendar that may be used on Spot or Tenor dates (in some cases, it is required that GBP/EUR AND USD [the
 crossCcy] have all a working day in common for the Spot/Tenor date). 
 | 
WorkingWeek | 
getCrossCcyWeek()  | 
String | 
getName()  | 
SpotLag | 
getSpotLag()  | 
boolean | 
isAdjustStartDateWithCurrencyPair()  | 
boolean | 
isBrokenDateAllowed()  | 
boolean | 
isUseCrossCcyOnT1ForCcy1()  | 
boolean | 
isUseCrossCcyOnT1ForCcy2()  | 
E calculateSpotDate(E startDate)
startDate - the start date which may be adjusted for the ccy pair if enabled.E calculateTenorDate(E startDate, Tenor tenor)
startDate - the start date which may be adjusted for the ccy pair if enabled.tenor - e.g. 1MList<E> calculateTenorDates(E startDate, List<Tenor> tenors)
startDate - the start date which may be adjusted for the ccy pair if enabled.tenors - the list of tenors ('chronological order is not mandatory)String getName()
String getCcy1()
ReadOnlyHolidayCalendar<E> getCcy1Calendar()
WorkingWeek getCcy1Week()
String getCcy2()
ReadOnlyHolidayCalendar<E> getCcy2Calendar()
WorkingWeek getCcy2Week()
ReadOnlyHolidayCalendar<E> getCrossCcyCalendar()
CurrencyDateCalculatorBuilder.brokenDateAllowed(boolean).String getCrossCcy()
WorkingWeek getCrossCcyWeek()
SpotLag getSpotLag()
boolean isAdjustStartDateWithCurrencyPair()
CurrencyDateCalculatorBuilder.adjustStartDateWithCurrencyPair(boolean)boolean isBrokenDateAllowed()
CurrencyDateCalculatorBuilder.brokenDateAllowed(boolean)boolean isUseCrossCcyOnT1ForCcy1()
CurrencyCalculatorConfig.getCurrenciesSubjectToCrossCcyForT1(String)boolean isUseCrossCcyOnT1ForCcy2()
CurrencyCalculatorConfig.getCurrenciesSubjectToCrossCcyForT1(String)Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.