CallableBond - 'year outside valid range' exception

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CallableBond - 'year outside valid range' exception

Khanh Nguyen
Hi all,

What could possible cause the above exception with CallableBond?  The
input and codes are similar to Example\CallableBond\CallableBond.cpp.

Thanks

-k

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: CallableBond - 'year outside valid range' exception

Luigi Ballabio
On Mon, 2009-07-13 at 10:40 +0700, Khanh Nguyen wrote:
> What could possible cause the above exception with CallableBond?

'year outside valid range' means that in some way you tried to
instantiate a date before 1900 or after 2200 (or 2100 in earlier
versions.)  You might want to check your schedules.

Luigi
 

--

Hofstadter's Law:
It always takes longer than you expect, even when you take
Hofstadter's Law into account.



------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users