[QuantLibAddin-cvs] QuantLibAddin/gensrc/metadata date.xml, 1.10, 1.11
Brought to you by:
ericehlers,
nando
|
From: Ferdinando A. <na...@us...> - 2006-08-17 10:40:58
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10385/gensrc/metadata Modified Files: date.xml Log Message: added periodFromFrequency function Index: date.xml =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/date.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** date.xml 17 Aug 2006 10:09:35 -0000 1.10 --- date.xml 17 Aug 2006 10:40:55 -0000 1.11 *************** *** 1,15 **** <Category name='date'> ! <description>Date related QuantLib functions</description> <displayName>Date</displayName> <xlFunctionWizardCategory>QuantLib - Date</xlFunctionWizardCategory> <includes> ! <!-- needed for setEvaluationDate which is in the 'wrong' QuantLibFunction file --> ! <include>ql/Functions/calendars.hpp</include> </includes> <copyright> ! Copyright (C) 2004 Ferdinando Ametrano </copyright> <Functions> <Procedure name='qlIsIMMdate' > <description>returns whether or not the given date is an IMM date.</description> --- 1,35 ---- <Category name='date'> ! <description>Date- and Period-related QuantLib functions</description> <displayName>Date</displayName> <xlFunctionWizardCategory>QuantLib - Date</xlFunctionWizardCategory> <includes> ! <include>qlo/date.hpp</include> </includes> <copyright> ! Copyright (C) 2006 Ferdinando Ametrano </copyright> <Functions> + <Procedure name='qlPeriodFromFrequency' > + <description>returns a Period from a given frequency (e.g. 6M from SemiAnnual).</description> + <alias>QuantLibAddin::periodFromFrequency</alias> + <supportedPlatforms> + <supportedPlatform>excel</supportedPlatform> + </supportedPlatforms> + <ParameterList> + <Parameters> + <Parameter name='frequency' enumeration='QuantLib::Frequency'> + <type>string</type> + <tensorRank>scalar</tensorRank> + <description>frequency (e.g. Annual, Semiannual, Every4Month, Quarterly, Bimonthly, Monthly)</description> + </Parameter> + </Parameters> + </ParameterList> + <ReturnValue libraryType='QuantLib::Period'> + <type>string</type> + <tensorRank>scalar</tensorRank> + </ReturnValue> + </Procedure> + <Procedure name='qlIsIMMdate' > <description>returns whether or not the given date is an IMM date.</description> |