Hello,

up to now, most of the work appears to have gone into the time
scale stuff - providing an API to map various date and time
representations to each other.

I'd like to see another important aspect of calendars (namely
the Gregorian calendar) covered in the DateTime framework, too:
defining all sorts of holidays.

Lots of applications need to tell business days from public
holidays, and calendrical displays for humans in fact show
holidays by their name.  Of course, this needs layers of
localization and customization as well as additional basic
algorithms (like calculating the date of Easter).

Where should all that go?  Unfortunately (in my opinion), the
DateTime::Calendar namespace seems to have been assigned to alien
time scales rather than to whatever a time scale additionally
needs to make up a calendar.  It might be feasible to separate
date calculations (depending on what calendar is used) from
nomenclature issues (depending mostly on locales).

Ideas, anyone?

-Martin

Reply via email to