Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2008-03-20 09:18:20


KTC wrote:
> Just wanted to test the waters here.
>
> One thing that I've been wanting to do is a calendar library. In my
> experience, I have found what is available at the moment to be very limited.
> Either they only have support for Gregorian calendar, plus one or two more
> if lucky, and or there's serious bugs in its implementation like not taking
> into account skipped days when converting from Julian to Gregorian.
>
> What I would propose could either be an extension to the current
> Boost.Date_Time library, or a new library using its own design. Main
> features would be built in support of up to 20 calendar systems, conversion,
> calculation of secular and religious holidays, days between dates, day of
> week, and time zones support.

As the author of Boost date-time, I'd like to see you extend the current
library. And I believe it is already designed to support different calendar
implementations, it's just never been a high priority for me. As a note, some
of the items you describe (time zones) are already part of the library,
although there are some potential features that could be added in that realm.

Anyway, I'm willing to help you with whatever you need to write a detailed
proposal :-)

Jeff


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