![]() |
Boost : |
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2007-07-11 14:48:16
On 11/07/07, Martin Min <lingvisa_at_[hidden]> wrote:
> It looks like the constructor of 'date' has three parameters year, month,
> day. What about if I just want to construct a Date with 'year'?, because
> this is typical in text, like "In 1991, ...".
>
> For me it is important to represent dates like "1998", without any
> month or day mentioned.
>
"In 1991" just means somewhere in [ 19910101T000000, 19920101T000000
), so perhaps you can deal in ranges of dates instead?
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk