Debian Codegraph @

t/dm5.date_delta_2b.t

raw symbols SCIP
1 #!/usr/bin/perl
2
3 use warningsscip-perl cpan Date-Manip 6.99 warnings/;
4 use strictscip-perl cpan Date-Manip 6.99 strict/;
5 use Test::Interscip-perl cpan Date-Manip 6.99 Test/Inter/;
6 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`. = new Test::Inter $0scip-perl cpan Date-Manip 6.99 main/$0.;
7 requirescip-perl cpan Date-Manip 6.99 main/require(). "tests-dm5.pl";
8
9 Date_Initscip-perl cpan Date-Manip 6.99 main/Date_Init().("TZ=EST");
10 Date_Initscip-perl cpan Date-Manip 6.99 main/Date_Init().("WorkDayBeg=08:30","WorkDayEnd=17:00");
11
12 my $tests="
13 'Wed Nov 20 1996 noon' +0:5:0:0 2 => 1996112108:30:00
14
15 'Wed Nov 20 1996 noon' +3:7:0:0 2 => 1996112610:30:00
16
17 'Mar 31 1997 16:59:59' '+ 1 sec' 2 => 1997040108:30:00
18
19 ";
20
21 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->testsscip-perl cpan Date-Manip 6.99 main/tests().(func => \&DateCalcscip-perl cpan Date-Manip 6.99 main/DateCalc().,
22 tests => $tests);
23 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->done_testingscip-perl cpan Date-Manip 6.99 main/done_testing().();
24
25 #Local Variables:
26 #mode: cperl
27 #indent-tabs-mode: nil
28 #cperl-indent-level: 3
29 #cperl-continued-statement-offset: 2
30 #cperl-continued-brace-offset: 0
31 #cperl-brace-offset: 0
32 #cperl-brace-imaginary-offset: 0
33 #cperl-label-offset: 0
34 #End: