public class IRScenarioGenerator extends Object
| Constructor and Description |
|---|
IRScenarioGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static List<IRMarketDataScenario> |
getScenariosFromJsonFile(String fileName,
DateTimeFormatter dateFormatter)
Static method which parses a json file and converts it to a list of market data scenarios
|
public static final List<IRMarketDataScenario> getScenariosFromJsonFile(String fileName, DateTimeFormatter dateFormatter) throws UnsupportedEncodingException, IOException
fileName - Name of the input file.dateFormatter - Date formatter to be used.IRMarketDataScenarioIOExceptionUnsupportedEncodingExceptionCopyright © 2019. All rights reserved.