| 1 |
#!/usr/bin/perl |
| 2 |
|
| 3 |
use warnings; |
| 4 |
use strict; |
| 5 |
use Test::Inter; |
| 6 |
$::ti = new Test::Inter $0; |
| 7 |
require "tests-dm5.pl"; |
| 8 |
|
| 9 |
Date_Init("TZ=EST"); |
| 10 |
Date_Init("WorkDayBeg=08:30","WorkDayEnd=17:00"); |
| 11 |
|
| 12 |
my $tests=" |
| 13 |
|
| 14 |
+1:6:30:30 +1:3:45:45 2 => +0:0:0:3:1:46:15 |
| 15 |
|
| 16 |
"; |
| 17 |
|
| 18 |
$::ti->tests(func => \&DateCalc, |
| 19 |
tests => $tests); |
| 20 |
$::ti->done_testing(); |
| 21 |
|
| 22 |
#Local Variables: |
| 23 |
#mode: cperl |
| 24 |
#indent-tabs-mode: nil |
| 25 |
#cperl-indent-level: 3 |
| 26 |
#cperl-continued-statement-offset: 2 |
| 27 |
#cperl-continued-brace-offset: 0 |
| 28 |
#cperl-brace-offset: 0 |
| 29 |
#cperl-brace-imaginary-offset: 0 |
| 30 |
#cperl-label-offset: 0 |
| 31 |
#End: |