|
Boost : |
From: Jeff Garland (jeff_at_[hidden])
Date: 2004-04-13 06:17:13
On Tue, 13 Apr 2004 10:48:26 +0200, Pavol Droba wrote
> 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?
This is a bug. You are going to use date dtMin(1400, 1, 1) for now. I can't
fix it for a few days.
Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk