Re: Period to frequency conversion.
Posted by
Luigi Ballabio on
Aug 22, 2008; 3:48pm
URL: http://quantlib.414.s1.nabble.com/Period-to-frequency-conversion-tp12169p12170.html
On Thu, 2008-07-31 at 15:58 -0400, Slava Mazur wrote:
> Is there any particular reason for restrictions in Period::frequency()
> method on the length in weeks and days?
Not really---I guess it was so that we could return a frequency. Since
in most cases this is only a cosmetic requirement, we could get away by
returning an unknown frequency instead of throwing an exception. Would
this be ok for you? Are you willing to write a patch?
Later,
Luigi
--
It is better to know some of the questions than all of the answers.
-- James Thurber
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev