Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Calendars-tp6072p6075.html
On Fri, 2008-03-28 at 17:07 +0000, Simon Ibbotson wrote:
> I'd agree with "T", it would be nice to have a bespoke calendar... so we
> can quickly add a calendar that isn't present in QuantLib without having
> to release a new library. For instance, the calendar for the Kazakh
> Tenge isn't in QuantLib yet and adding a class with the relevant date
> rules would take time/effort and a library release.
This isn't entirely true (you could implement Kazakh Tenge and link it
to your application together with the main library) but I agree, we
might have a bespoke calendar.
It should have copy semantics, right? I mean, if we write:
BespokeCalendar c1;
... initialize c1 with holidays ...
Calendar c2 = c1; // same holidays as c1
...later on...
c2.addHoliday(...);
c1 shouldn't be modified by the call through c2, I guess. Or should it?
Luigi
--
Testing can never demonstrate the absence of errors in software, only
their presence.
-- W.E. Dijkstra
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users