Update of /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv32191/gensrc/metadata
Modified Files:
calendar.xml date.xml
Log Message:
moving calendar fuction specification out of date.xml into calendar.xml
Index: date.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/date.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** date.xml 31 May 2006 13:27:06 -0000 1.3
--- date.xml 31 May 2006 18:44:47 -0000 1.4
***************
*** 3,60 ****
<displayName>Date</displayName>
<includes>
<include>ql/Functions/calendars.hpp</include>
</includes>
<Functions>
- <Procedure name='qlIsHoliday' >
- <description>returns TRUE if the date is a holiday for the given calendar</description>
- <functionCategory>QuantLib</functionCategory>
- <alias>QuantLib::isHoliday</alias>
- <ParameterList>
- <Parameters>
- <Parameter name='calendar' enumeration='QuantLib::Calendar'>
- <type>string</type>
- <tensorRank>scalar</tensorRank>
- <description>Calendar to use for holiday determination</description>
- </Parameter>
- <Parameter name='date' libraryType='QuantLib::Date'>
- <type>long</type>
- <tensorRank>scalar</tensorRank>
- <description>date</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- <ReturnValue>
- <type>bool</type>
- <tensorRank>scalar</tensorRank>
- <description>TRUE if the date is a holiday for the given calendar</description>
- </ReturnValue>
- </Procedure>
-
- <Procedure name='qlIsEndOfMonth' >
- <description>returns TRUE if the date is last business day for the month in the given calendar</description>
- <functionCategory>QuantLib</functionCategory>
- <alias>QuantLib::isEndOfMonth</alias>
- <ParameterList>
- <Parameters>
- <Parameter name='calendar' enumeration='QuantLib::Calendar'>
- <type>string</type>
- <tensorRank>scalar</tensorRank>
- <description>Calendar to use for holiday determination</description>
- </Parameter>
- <Parameter name='date' libraryType='QuantLib::Date'>
- <type>long</type>
- <tensorRank>scalar</tensorRank>
- <description>date</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- <ReturnValue>
- <type>bool</type>
- <tensorRank>scalar</tensorRank>
- <description>TRUE if the date is last business day for the month in the given calendar</description>
- </ReturnValue>
- </Procedure>
-
<Procedure name='qlIsIMMdate' >
<description>returns whether or not the given date is an IMM date.</description>
--- 3,11 ----
<displayName>Date</displayName>
<includes>
+ <!-- needed for setEvaluationDate which is in the 'wrong' QuantLibFunction file -->
<include>ql/Functions/calendars.hpp</include>
</includes>
<Functions>
<Procedure name='qlIsIMMdate' >
<description>returns whether or not the given date is an IMM date.</description>
***************
*** 161,167 ****
<description>returns the current value of the Evaluation Date</description>
<functionCategory>QuantLib</functionCategory>
- <!-- TEMPORARY? WORKAROUND FOR MISSING FUNCTION
- <alias>QuantLib::evaluationDate</alias>
- -->
<alias>QuantLib::Settings::instance().evaluationDate</alias>
<ParameterList>
--- 112,115 ----
Index: calendar.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/calendar.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** calendar.xml 24 May 2006 11:05:35 -0000 1.2
--- calendar.xml 31 May 2006 18:44:47 -0000 1.3
***************
*** 9,12 ****
--- 9,62 ----
<Functions>
+ <Procedure name='qlIsHoliday' >
+ <description>returns TRUE if the date is a holiday for the given calendar</description>
+ <functionCategory>QuantLib</functionCategory>
+ <alias>QuantLib::isHoliday</alias>
+ <ParameterList>
+ <Parameters>
+ <Parameter name='calendar' enumeration='QuantLib::Calendar'>
+ <type>string</type>
+ <tensorRank>scalar</tensorRank>
+ <description>Calendar to use for holiday determination</description>
+ </Parameter>
+ <Parameter name='date' libraryType='QuantLib::Date'>
+ <type>long</type>
+ <tensorRank>scalar</tensorRank>
+ <description>date</description>
+ </Parameter>
+ </Parameters>
+ </ParameterList>
+ <ReturnValue>
+ <type>bool</type>
+ <tensorRank>scalar</tensorRank>
+ <description>TRUE if the date is a holiday for the given calendar</description>
+ </ReturnValue>
+ </Procedure>
+
+ <Procedure name='qlIsEndOfMonth' >
+ <description>returns TRUE if the date is last business day for the month in the given calendar</description>
+ <functionCategory>QuantLib</functionCategory>
+ <alias>QuantLib::isEndOfMonth</alias>
+ <ParameterList>
+ <Parameters>
+ <Parameter name='calendar' enumeration='QuantLib::Calendar'>
+ <type>string</type>
+ <tensorRank>scalar</tensorRank>
+ <description>Calendar to use for holiday determination</description>
+ </Parameter>
+ <Parameter name='date' libraryType='QuantLib::Date'>
+ <type>long</type>
+ <tensorRank>scalar</tensorRank>
+ <description>date</description>
+ </Parameter>
+ </Parameters>
+ </ParameterList>
+ <ReturnValue>
+ <type>bool</type>
+ <tensorRank>scalar</tensorRank>
+ <description>TRUE if the date is last business day for the month in the given calendar</description>
+ </ReturnValue>
+ </Procedure>
+
<Procedure name='qlHolidayList' >
<description>returns the holidays in a period between two dates according to a given holiday calendar</description>
|