Debian Codegraph @

t/dm5.date_delta_1.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
11 my $tests="
12 'Wed Feb 7 1996 8:00' +1:1:1:1 1 => 1996020809:01:01
13
14 'Wed Nov 20 1996 noon' +0:5:0:0 1 => 1996112017:00:00
15
16 'Wed Nov 20 1996 noon' +0:13:0:0 1 => 1996112101:00:00
17
18 'Wed Nov 20 1996 noon' +3:2:0:0 1 => 1996112314:00:00
19
20 'Wed Nov 20 1996 noon' -3:2:0:0 1 => 1996111710:00:00
21
22 'Wed Nov 20 1996 noon' +3:13:0:0 1 => 1996112401:00:00
23
24 'Wed Nov 20 1996 noon' +6:2:0:0 1 => 1996112614:00:00
25
26 'Dec 31 1996 noon' +1:2:0:0 1 => 1997010114:00:00
27
28 'Jan 31 1997 23:59:59' '+ 1 sec' 1 => 1997020100:00:00
29
30 ";
31
32 $::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().,
33 tests => $tests);
34 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->done_testingscip-perl cpan Date-Manip 6.99 main/done_testing().();
35
36 #Local Variables:
37 #mode: cperl
38 #indent-tabs-mode: nil
39 #cperl-indent-level: 3
40 #cperl-continued-statement-offset: 2
41 #cperl-continued-brace-offset: 0
42 #cperl-brace-offset: 0
43 #cperl-brace-imaginary-offset: 0
44 #cperl-label-offset: 0
45 #End: