Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2004-04-13 03:48:26


Hi,

I have a problem with the date-time library. I have a code like this:

 namespace date=boost::gregorian;

 date::date dtMin(date::min_date_time);
 cout << dtMin << endl;

Last line throws out-of-range exception. As far as I understand the meaning of min_date_time,
this should not happen.
If this is a standard behaviour, how can I get the minimal displayable date?

Thanks,

Pavol


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk