SettlementDateRequestListener
and
TenorDateRequestListener
. If you have an existing class that currently implements this combined
interface, your class should be modified to implement the two new interfaces instead.@Deprecated public interface CalendarRequestListener
Modifier and Type | Method and Description |
---|---|
void |
getSettlementDates(Callback<Set<String>> callback,
String currencyPair,
String year,
String month)
Deprecated.
Called when a request for the valid settlement or business dates for the
specified currency pair, year and month.
|
void |
getTenorDates(Callback<Map<Tenor,String>> callback,
String currencyPair)
Deprecated.
Called when a request for tenor dates for the specified currency pair is
made from the frontend.
|
void getSettlementDates(Callback<Set<String>> callback, String currencyPair, String year, String month)
Callback.call(Object)
with the provided business days in the specified month.callback
- The callback to call when a result has been provided,
passing a set of valid settlement dates in the iso8601
date format, YYYYMMDD.currencyPair
- The currency pair of the settlement dates.year
- The year of the wanted settlement dates.month
- The month of the wanted settlement dates.void getTenorDates(Callback<Map<Tenor,String>> callback, String currencyPair)
Callback.call(Object)
with the provided
tenors.
Only SPOT and FWD tenors need to be provided, which should include
TODAY, TOM, SPOT, 1D, 1W, 2W, 3W, 1M etc up to the maximum tenor
provided by the system. ON, TN and SN are not required as these are mapped
to TODAY, TOM and 1D respectively.callback
- The callback to call when a result has been provided.currencyPair
- The currency pair to get the tenor dates for.Copyright © 2015 Caplin Systems.