[gsoc2008] Calendar library

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. Any feedback is appreciated. Kwan Ting Chan (KTC) -- Experience is a good school but the fees are high. - Heinrich Heine

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
participants (2)
-
Jeff Garland
-
KTC