Boost logo

Boost :

From: williamkempf_at_[hidden]
Date: 2001-03-22 12:14:56

--- In boost_at_y..., "John (EBo) David" <ebo_at_e...> wrote:
> > For data representation in a string format I would agree.
> > display for human consumption *HAS* to be configurable by locale,
> > if you can write the date out in this format you need to be able
> > read it in that format. So though I understand your rant here, a
> > usable date/time class can not restrict itself to a single text
> > representation.
> and just to add some muck to the works consider the difficulties in
> *parcing* the human readable stuff back into your date/time class...

It can be done. I've written code that does a fair job of this, and
many platforms have extensions that do the reverse of strftime, so
the "difficulties" are not prohibitive to use.

Bill Kempf

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