Login  Register

Debugging dates

Posted by igitur on Jul 09, 2014; 8:19am
URL: http://quantlib.414.s1.nabble.com/Debugging-dates-tp15582.html

Hi,

I was wondering how you guys debug Quantlib, specifically with reference to the dates. I'm from a .NET background, so when I put a breakpoint, and add some variables to my watches, the dates show in a human readable format.

In C++, the Quantlib dates show only as the internal serial number. In the Visual Studio Immediate window, I can do someDate.year(), someDate.month() and someDate.dayOfMonth(), but that is quite cumbersome to do every time I want to see a dates human readable value.

How do you guys do it?

Francois Botha

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev