Login  Register

Re: Schedule: is this expected?

Posted by Luigi Ballabio on Feb 08, 2011; 8:15am
URL: http://quantlib.414.s1.nabble.com/Schedule-is-this-expected-tp8983p8985.html

On Tue, 2011-02-08 at 09:12 +0100, Luigi Ballabio wrote:
> End-of-month says that the schedule should generate dates on the last
> business day of the month, and as such overrides business-day
> convention.

In fact, the constructor is probably misleading.  There should be a
Schedule constructor taking conventions, and another one to be used for
end-of-month (which takes no convention, but maybe just a boolean to
specify whether dates should be adjusted.)  Any thoughts?

Luigi


--

feature, n:
A surprising property of a program. Occasionally documented.
To call a property a feature sometimes means the author did not
consider that case, and the program makes an unexpected, though
not necessarily wrong response. See BUG. "That's not a bug,
it's a feature!" A bug can be changed to a feature by
documenting it.



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev