Re: Period class... some minor updates...

Posted by Ferdinando M. Ametrano-3 on
URL: http://quantlib.414.s1.nabble.com/Period-class-some-minor-updates-tp11249p11250.html

Hi Toyin

it hasn't been discussed yet, but I'm actually in favor of deprecating
(and then removing) Frequency adopting instead a more pervasive usage
of Period. Frequency has been in QuantLib before Period, but nowadays
I cannot see any good reason for retaing it, as it is less flexible
than Period. The only plus might be the "Once" Frequency which doesn't
have a clear equivalent Period.

There is already ongoing work in QuantLib to allow Period as
alternative to Frequency.

As for your specific proposal: once we introduce EveryFifthWeek and
EverySixthWeek, why not introduce EverySeventhWeek, etc?
This is one of the reason I prefer Period which doesn't have this problem...

look forward to feedback

ciao -- Nando

On 9/12/06, Toyin Akin <[hidden email]> wrote:

>
> Hi Luigi,
>
> Is it possible to add the following additional Frequency types to quantLib?
> (Assuming that the implementation is not too shabby)
>
> I've updated the files based on the most recent version within CVS.
>
> Thanking you in advance...
>
> Toy out.
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>
>
>
>