Given a swap object and the choice of leg, return an array of the leg's period start dates.
This function requires the input of a simple swap object key, which must have been produced via a call to the following functions :
SwapFIXFLT(),
SwapFIXFLT2(),
SwapFIXFIX(),
SwapFIXFIX2(),
SwapFLTFLT(),
SwapFLTFLT2(),
SwapFLTFLT3(),
SwapFIXFIX3(),
Swap() or
Swap2() functions.
These functions would have returned a string 'KEY' which is to be passed to the 'SwapKEY' parameter of this function.
The C# example below contains all the sub-function calls leading up to this function call. As a result, the example can contain a lot of code.
The VB.NET, J#, C++.NET, Java, Excel VBA, Visual Basic 6 (via COM) and C++ examples below contain function code stubs for the calls leading up to this function call. However, the function call for this function is displayed.
You can easily reproduce the stub functions code from the
C# example.
Copyright (c) 2003-2007 CapeTools - All Rights Reserved.