I think I am leaning towards the following: Have a module that can perform "special" date arithmetic. So you load the definition of good times and bad into an object (through the constructor and accessors) and can then perform calculations on dates as calls through the object.
Something like: --- my $holidays = DateTime::Format::ICal->new(...); my $work_hours = DateTime::Event::Recurrence->daily(...) my $business = DateTime::Calc::Business->new (holidays => $holidays, work_hours => $work_hours, ); my $dt1 = DateTime->new( ... ); my $dt2 = $business->add( days => 2 ); # Takes a DT::Duration too etc. --- Does this sound vaguely plausible? -ben On Thu, Jun 05, 2003 at 06:24:24PM -0300, Flavio S. Glock wrote: > Another one: > > http://iCalShare.com > - A lot more calendar tables. > > Flavio S. Glock wrote: > > > > Some links that might be useful: > > > > http://www.apple.com/ical/library > > - Very good files, can be read using > > DateTime::Format::ICal > > and a bit of hacking. Includes bank holidays. > > I don't know what the license is. > > > > http://www.angelinn.net/cal_info.htm > > - links for sites that have more > > calendar tables. > > > > http://www.bank-holidays.com > > - not useful, just for fun.