• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Business.pmH A D27-Jan-200012.9 KiB461227

ChangesH A D25-Nov-1999126 63

LICENSEH A D25-Nov-19997.1 KiB151120

Makefile.PLH A D25-Nov-19991 KiB3620

READMEH A D29-Nov-1999866 3323

test.plH A D25-Nov-1999812 249

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