Update of /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2402/gensrc/metadata
Modified Files:
calendar.xml termstructures.xml xibor.xml
Log Message:
1) using Period as input parameter instead of (int, TimeUnit)
Index: calendar.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/calendar.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** calendar.xml 15 Jun 2006 07:42:38 -0000 1.7
--- calendar.xml 15 Jun 2006 15:51:21 -0000 1.8
***************
*** 204,229 ****
<functionCategory>QuantLib</functionCategory>
<ParameterList>
! <Parameters>
! <Parameter name='startDate' libraryType='QuantLib::Date'>
! <type>long</type>
! <tensorRank>scalar</tensorRank>
! <description>start date to be advanced</description>
! </Parameter>
! <Parameter name='n'>
! <type>long</type>
! <tensorRank>scalar</tensorRank>
! <description>number of units to advance</description>
! </Parameter>
! <Parameter name='timeUnits' enumeration='QuantLib::TimeUnit'>
! <type>string</type>
! <tensorRank>scalar</tensorRank>
! <description>units to advance</description>
! </Parameter>
! <Parameter name='BusinessDayConvention' enumeration='QuantLib::BusinessDayConvention'>
! <type>string</type>
! <tensorRank>scalar</tensorRank>
! <description>rolling convention</description>
! </Parameter>
! </Parameters>
</ParameterList>
<ReturnValue libraryType='QuantLib::Date'>
--- 204,224 ----
<functionCategory>QuantLib</functionCategory>
<ParameterList>
! <Parameters>
! <Parameter name='startDate' libraryType='QuantLib::Date'>
! <type>long</type>
! <tensorRank>scalar</tensorRank>
! <description>start date to be advanced</description>
! </Parameter>
! <Parameter name='period' libraryType='QuantLib::Period'>
! <type>string</type>
! <tensorRank>scalar</tensorRank>
! <description>period(s) to advance (e.g. 2D for two days , 3W for three weeks, 6M for six months, 1Y for one year)</description>
! </Parameter>
! <Parameter name='BusinessDayConvention' enumeration='QuantLib::BusinessDayConvention'>
! <type>string</type>
! <tensorRank>scalar</tensorRank>
! <description>rolling convention</description>
! </Parameter>
! </Parameters>
</ParameterList>
<ReturnValue libraryType='QuantLib::Date'>
***************
*** 238,242 ****
<functionCategory>QuantLib</functionCategory>
<ParameterList>
! <Parameters>
<Parameter name='jointCalendarRule' enumeration='QuantLib::JointCalendarRule' default='"JoinHolidays"'>
<type>string</type>
--- 233,237 ----
<functionCategory>QuantLib</functionCategory>
<ParameterList>
! <Parameters>
<Parameter name='jointCalendarRule' enumeration='QuantLib::JointCalendarRule' default='"JoinHolidays"'>
<type>string</type>
Index: xibor.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/xibor.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** xibor.xml 2 Jun 2006 09:40:40 -0000 1.5
--- xibor.xml 15 Jun 2006 15:51:21 -0000 1.6
***************
*** 19,32 ****
<description>Index Currency</description>
</Parameter>
! <Parameter name='tenor'>
! <type>long</type>
! <tensorRank>scalar</tensorRank>
! <description>the tenor of this index</description>
! </Parameter>
! <Parameter name='timeUnits' enumeration='QuantLib::TimeUnit'>
! <type>string</type>
! <tensorRank>scalar</tensorRank>
! <description>time units applying to above tenor</description>
! </Parameter>
<Parameter name='calendar' enumeration='QuantLib::Calendar'>
<type>string</type>
--- 19,27 ----
<description>Index Currency</description>
</Parameter>
! <Parameter name='tenor' libraryType='QuantLib::Period'>
! <type>string</type>
! <tensorRank>scalar</tensorRank>
! <description>index tenor (e.g. 2D for two days , 3W for three weeks, 6M for six months, 1Y for one year)</description>
! </Parameter>
<Parameter name='calendar' enumeration='QuantLib::Calendar'>
<type>string</type>
Index: termstructures.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/termstructures.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** termstructures.xml 14 Jun 2006 18:53:55 -0000 1.5
--- termstructures.xml 15 Jun 2006 15:51:21 -0000 1.6
***************
*** 14,26 ****
<description>quote</description>
</Parameter>
! <Parameter name='maturity'>
! <type>long</type>
! <tensorRank>scalar</tensorRank>
! <description>maturity</description>
! </Parameter>
! <Parameter name='timeUnits' enumeration='QuantLib::TimeUnit'>
<type>string</type>
<tensorRank>scalar</tensorRank>
! <description>time units applying to above maturity</description>
</Parameter>
<Parameter name='fixingDays'>
--- 14,21 ----
<description>quote</description>
</Parameter>
! <Parameter name='period' libraryType='QuantLib::Period'>
<type>string</type>
<tensorRank>scalar</tensorRank>
! <description>deposit legth (e.g. 3M for three months)</description>
</Parameter>
<Parameter name='fixingDays'>
***************
*** 97,109 ****
<description>quote</description>
</Parameter>
! <Parameter name='maturity'>
! <type>long</type>
! <tensorRank>scalar</tensorRank>
! <description>maturity</description>
! </Parameter>
! <Parameter name='timeUnits' enumeration='QuantLib::TimeUnit'>
<type>string</type>
<tensorRank>scalar</tensorRank>
! <description>time units applying to above maturity</description>
</Parameter>
<Parameter name='fixingDays'>
--- 92,99 ----
<description>quote</description>
</Parameter>
! <Parameter name='period' libraryType='QuantLib::Period'>
<type>string</type>
<tensorRank>scalar</tensorRank>
! <description>deposit legth (e.g. 5Y for five years)</description>
</Parameter>
<Parameter name='fixingDays'>
|