Debian Codegraph @

t/orig.settime.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.pl";
8
9 sub testscip-perl cpan Date-Manip 6.99 main/test(). {
10 return Date_SetTimescip-perl cpan Date-Manip 6.99 main/Date_SetTime().(@_scip-perl cpan Date-Manip 6.99 main/`@_`.);
11 }
12
13 Date_Initscip-perl cpan Date-Manip 6.99 main/Date_Init().("ForceDate=1997-03-08-12:30:00,America/New_York");
14
15 my $tests="
16
17 'Jan 1, 1996 at 10:30' 12:40 => 1996010112:40:00
18
19 1996010110:30:40 12:40:50 => 1996010112:40:50
20
21 1996010110:30:40 12:40 => 1996010112:40:00
22
23 1996010110:30:40 12 40 => 1996010112:40:00
24
25 1996010110:30:40 12 40 50 => 1996010112:40:50
26
27 ";
28
29 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->testsscip-perl cpan Date-Manip 6.99 main/tests().(func => \&testscip-perl cpan Date-Manip 6.99 main/test().,
30 tests => $tests);
31 $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->done_testingscip-perl cpan Date-Manip 6.99 main/done_testing().();
32
33 #Local Variables:
34 #mode: cperl
35 #indent-tabs-mode: nil
36 #cperl-indent-level: 3
37 #cperl-continued-statement-offset: 2
38 #cperl-continued-brace-offset: 0
39 #cperl-brace-offset: 0
40 #cperl-brace-imaginary-offset: 0
41 #cperl-label-offset: 0
42 #End: