[QuantLibAddin-cvs] QuantLibAddin/qlo date.hpp,NONE,1.1
Brought to you by:
ericehlers,
nando
|
From: Ferdinando A. <na...@us...> - 2006-08-17 10:40:59
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10385/qlo Added Files: date.hpp Log Message: added periodFromFrequency function --- NEW FILE: date.hpp --- /* Copyright (C) 2006 Ferdinando Ametrano This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or modify it under the terms of the QuantLib license. You should have received a copy of the license along with this program; if not, please email qua...@li... The license is also available online at http://quantlib.org/html/license.html This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details. */ #ifndef qla_date_hpp #define qla_date_hpp #include <oh/object.hpp> #include <ql/period.hpp> namespace QuantLibAddin { inline QuantLib::Period periodFromFrequency(QuantLib::Frequency f) { return QuantLib::Period(f); } } #endif |