| 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 | |
| 13 | 'Jan 1, 1996 at 10:30' 12:40 => 1996010112:40:00 |
| 14 | |
| 15 | 1996010110:30:40 12:40:50 => 1996010112:40:50 |
| 16 | |
| 17 | 1996010110:30:40 12:40 => 1996010112:40:00 |
| 18 | |
| 19 | 1996010110:30:40 12 40 => 1996010112:40:00 |
| 20 | |
| 21 | 1996010110:30:40 12 40 50 => 1996010112:40:50 |
| 22 | |
| 23 | "; |
| 24 | |
| 25 | $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->testsscip-perl cpan Date-Manip 6.99 main/tests().(func => \&Date_SetTimescip-perl cpan Date-Manip 6.99 main/Date_SetTime()., |
| 26 | tests => $tests); |
| 27 | $::tiscip-perl cpan Date-Manip 6.99 main/`$::ti`.->done_testingscip-perl cpan Date-Manip 6.99 main/done_testing().(); |
| 28 | |
| 29 | #Local Variables: |
| 30 | #mode: cperl |
| 31 | #indent-tabs-mode: nil |
| 32 | #cperl-indent-level: 3 |
| 33 | #cperl-continued-statement-offset: 2 |
| 34 | #cperl-continued-brace-offset: 0 |
| 35 | #cperl-brace-offset: 0 |
| 36 | #cperl-brace-imaginary-offset: 0 |
| 37 | #cperl-label-offset: 0 |
| 38 | #End: |