Boost logo

Boost :

From: Mohnish Kodnani (mohnish.kodnani_at_[hidden])
Date: 2008-07-10 19:35:51


Hi All,
I have a question regarding the boost DateTime package.
In our application we have to support storing time from various time zone in
UTC and we need to know DST of various timezones. We are currently using
standard C runtime libraries for this purpose on various platforms like
windows , linux, aix, hpux.

My question, Recently there has been a need to store dates prior to epoch in
our system and this causes problems since none of the standard C runtime
libraries support dates prior to EPOCH.

We are also interested in DST settings prior to EPOCH, since in our
experiments it looks like Java knows DST till 1942 or in its vicinity,
however C only deals with dates after epoch.

Our server is in C++ and client in Java, so we have issues here when client
sends a date prior to 1942 and we have to store its UTC value, we cannot do
this since C runtime mktime like functions dont work.

Does Boost DateTime package provide this functionality, if not is that in
the plans.
>From what I read so far it looks like this package does not have this
functionality, but has the functionality to create our own rules, however
this is difficult considering all countries around the world, it would be
good if we had something similar to C runtime.

Please let me know.

thanks

Mohnish


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