README
1
2DESCRIPTION
3
4Date::Business provides the functionality to perform simple
5date manipulations quickly. Support for calendar date and
6business date math is provided.
7
8Business dates are weekdays only. Adding 1 to a weekend
9returns Monday, subtracting 1 returns Friday. User defined
10Holidays are supported.
11
12Date::Business works very well for iterating over dates,
13and determining start and end dates of arbitray n business day
14periods (e.g. consider how to perform a computation for
15a series of business days starting from an arbitrary day).
16
17 $end = new Date::Business(); # today
18 $start = new Date::Business($end, -10); # 10 business days ago
19
20 while (!$start->gt($end)) {
21 compute_something($start);
22 $start->nextb();
23 }
24
25INSTALLATION
26
27Requires packages Time::Local and POSIX.
28
29perl Makefile.PL [ LIB=<alternate installation> ]
30make
31make test
32make install
33