Login  Register

Re: Calendars

Posted by Luigi Ballabio on May 07, 2008; 4:10pm
URL: http://quantlib.414.s1.nabble.com/Calendars-tp6072p6079.html

On Tue, 2008-05-06 at 17:05 +0000, Simon Ibbotson - Straumur wrote:

> If we defined something like
> vector<Date> RigaHolidays;
> vector<Date> GreenlandHolidays;
>
> and we added a label to the holiday, so we can fulfil the member function ::name()
>
> BespokeCalendar c1("Riga", RigaHolidays);
> BespokeCalendar c2("Greenland", GreenlandHolidays);
>
> c1 = c2;
>
> Then c1 and c2 would both contain Greenland holidays, a label of "Greenland" and should link to the same holiday set - so they should retain their link.

Ok, agreed.

Luigi


--

Cogito ergo I'm right and you're wrong.
-- Blair Houghton



-------------------------------------------------------------------------
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