Update of /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv13364/gensrc/metadata
Modified Files:
calendar.xml enumtypes.xml
Log Message:
calendar factory
Index: enumtypes.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/enumtypes.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** enumtypes.xml 5 Sep 2006 17:35:43 -0000 1.17
--- enumtypes.xml 7 Sep 2006 21:27:37 -0000 1.18
***************
*** 949,967 ****
</EnumerationDefinitions>
</Enumeration>
-
- <Enumeration>
- <type>QuantLib::JointCalendarRule</type>
- <constructor>true</constructor>
- <EnumerationDefinitions>
- <EnumerationDefinition>
- <string>JoinHolidays</string>
- <value>QuantLib::JoinHolidays</value>
- </EnumerationDefinition>
- <EnumerationDefinition>
- <string>JoinBusinessDays</string>
- <value>QuantLib::JoinBusinessDays</value>
- </EnumerationDefinition>
- </EnumerationDefinitions>
- </Enumeration>
<Enumeration>
--- 949,952 ----
Index: calendar.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/calendar.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** calendar.xml 4 Sep 2006 19:21:04 -0000 1.23
--- calendar.xml 7 Sep 2006 21:27:37 -0000 1.24
***************
*** 3,10 ****
<displayName>Calendar</displayName>
<xlFunctionWizardCategory>QuantLib - Date</xlFunctionWizardCategory>
! <includes>
! <include>qlo/calendar.hpp</include>
! <include>qlo/vo_calendar.hpp</include>
! </includes>
<copyright>
Copyright (C) 2006 Eric Ehlers
--- 3,7 ----
<displayName>Calendar</displayName>
<xlFunctionWizardCategory>QuantLib - Date</xlFunctionWizardCategory>
! <includes/>
<copyright>
Copyright (C) 2006 Eric Ehlers
***************
*** 13,17 ****
<Functions>
! <EnumerationMember name='qlCalendarName' libraryType='QuantLib::Calendar'>
<description>returns the name of the given calendar</description>
<libraryFunction>name</libraryFunction>
--- 10,14 ----
<Functions>
! <EnumerationMember name='qlCalendarName' enumeration='QuantLib::Calendar'>
<description>returns the name of the given calendar</description>
<libraryFunction>name</libraryFunction>
***************
*** 28,32 ****
</EnumerationMember>
! <EnumerationMember name='qlCalendarIsBusinessDay' libraryType='QuantLib::Calendar'>
<description>returns TRUE if the date is a business day for the given calendar</description>
<libraryFunction>isBusinessDay</libraryFunction>
--- 25,29 ----
</EnumerationMember>
! <EnumerationMember name='qlCalendarIsBusinessDay' enumeration='QuantLib::Calendar'>
<description>returns TRUE if the date is a business day for the given calendar</description>
<libraryFunction>isBusinessDay</libraryFunction>
***************
*** 49,53 ****
</EnumerationMember>
! <EnumerationMember name='qlCalendarIsHoliday' libraryType='QuantLib::Calendar'>
<description>returns TRUE if the date is a holiday for the given calendar</description>
<libraryFunction>isHoliday</libraryFunction>
--- 46,50 ----
</EnumerationMember>
! <EnumerationMember name='qlCalendarIsHoliday' enumeration='QuantLib::Calendar'>
<description>returns TRUE if the date is a holiday for the given calendar</description>
<libraryFunction>isHoliday</libraryFunction>
***************
*** 70,74 ****
</EnumerationMember>
! <EnumerationMember name='qlCalendarIsEndOfMonth' libraryType='QuantLib::Calendar'>
<description>returns TRUE if the date is last business day for the month in the given calendar</description>
<libraryFunction>isEndOfMonth</libraryFunction>
--- 67,71 ----
</EnumerationMember>
! <EnumerationMember name='qlCalendarIsEndOfMonth' enumeration='QuantLib::Calendar'>
<description>returns TRUE if the date is last business day for the month in the given calendar</description>
<libraryFunction>isEndOfMonth</libraryFunction>
***************
*** 91,95 ****
</EnumerationMember>
! <EnumerationMember name='qlCalendarEndOfMonth' libraryType='QuantLib::Calendar'>
<description>returns the last business day in the given calendar of the month to which the given date belongs</description>
<libraryFunction>endOfMonth</libraryFunction>
--- 88,92 ----
</EnumerationMember>
! <EnumerationMember name='qlCalendarEndOfMonth' enumeration='QuantLib::Calendar'>
<description>returns the last business day in the given calendar of the month to which the given date belongs</description>
<libraryFunction>endOfMonth</libraryFunction>
***************
*** 112,116 ****
</EnumerationMember>
! <EnumerationMember name='qlCalendarAddHoliday' libraryType='QuantLib::Calendar'>
<description>adds an holiday to the given calendar</description>
<libraryFunction>addHoliday</libraryFunction>
--- 109,113 ----
</EnumerationMember>
! <EnumerationMember name='qlCalendarAddHoliday' enumeration='QuantLib::Calendar'>
<description>adds an holiday to the given calendar</description>
<libraryFunction>addHoliday</libraryFunction>
***************
*** 133,137 ****
</EnumerationMember>
! <EnumerationMember name='qlCalendarRemoveHoliday' libraryType='QuantLib::Calendar'>
<description>removes an holiday from the given calendar</description>
<libraryFunction>removeHoliday</libraryFunction>
--- 130,134 ----
</EnumerationMember>
! <EnumerationMember name='qlCalendarRemoveHoliday' enumeration='QuantLib::Calendar'>
<description>removes an holiday from the given calendar</description>
<libraryFunction>removeHoliday</libraryFunction>
***************
*** 163,167 ****
<ParameterList>
<Parameters>
! <Parameter name='calendar' libraryType='QuantLib::Calendar'>
<type>string</type>
<tensorRank>scalar</tensorRank>
--- 160,164 ----
<ParameterList>
<Parameters>
! <Parameter name='calendar' enumeration='QuantLib::Calendar'>
<type>string</type>
<tensorRank>scalar</tensorRank>
***************
*** 191,195 ****
</Procedure>
! <EnumerationMember name='qlCalendarAdjust' libraryType='QuantLib::Calendar'>
<description>Adjusts a non-business day to the appropriate near business day according to a given calendar with respect to the given convention.</description>
<libraryFunction>adjust</libraryFunction>
--- 188,192 ----
</Procedure>
! <EnumerationMember name='qlCalendarAdjust' enumeration='QuantLib::Calendar'>
<description>Adjusts a non-business day to the appropriate near business day according to a given calendar with respect to the given convention.</description>
<libraryFunction>adjust</libraryFunction>
***************
*** 217,221 ****
</EnumerationMember>
! <EnumerationMember name='qlCalendarAdvance' libraryType='QuantLib::Calendar' loopParameter='period'>
<description>advances a date according to a given calendar</description>
<libraryFunction>advance</libraryFunction>
--- 214,218 ----
</EnumerationMember>
! <EnumerationMember name='qlCalendarAdvance' enumeration='QuantLib::Calendar' loopParameter='period'>
<description>advances a date according to a given calendar</description>
<libraryFunction>advance</libraryFunction>
***************
*** 253,277 ****
</EnumerationMember>
- <Constructor name='qlJointCalendar'>
- <libraryFunction>JointCalendar</libraryFunction>
- <supportedPlatforms>
- <supportedPlatform>excel</supportedPlatform>
- </supportedPlatforms>
- <ParameterList>
- <Parameters>
- <Parameter name='jointCalendarRule' enumeration='QuantLib::JointCalendarRule' default='"JoinHolidays"'>
- <type>string</type>
- <tensorRank>scalar</tensorRank>
- <description>JoinHolidays/JoinBusinessDays</description>
- </Parameter>
- <Parameter name='calendars' enumeration='QuantLib::Calendar'>
- <type>string</type>
- <tensorRank>vector</tensorRank>
- <description>list of two, three or four calendars to join</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- </Constructor>
-
</Functions>
</Category>
--- 250,253 ----
|