Boost logo

Boost :

From: Ames, Andreas (Andreas) (ames_at_[hidden])
Date: 2007-07-12 05:15:32

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Martin Min
> Sent: Wednesday, July 11, 2007 8:06 PM
> Subject: [boost] How to represent underspecified Date in
> boost::date_timelibrary?
> day. What about if I just want to construct a Date with
> 'year'?, because
> this is typical in text, like "In 1991, ...".
> Is this possilbe? If not, is there any way around this limitation?
> or even more, can I represent sth like "In the 21st century",
> or "the winter
> of 1998"?
> But now, for me it is important to represent dates like
> "1998", without any
> month or day mentioned.

Wouldn't date_period fit your needs here?



Andreas Ames | Programmer | Comergo GmbH | ames AT avaya DOT com
Sitz der Gesellschaft: Stuttgart
Registergericht: Amtsgericht Stuttgart - HRB 22107
Geschäftsführer: Andreas von Meyer zu Knonow, Udo Bühler, Thomas Kreikemeier

Boost list run by bdawes at, gregod at, cpdaniel at, john at