| 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("ForceDate=1997-03-08-12:30:00"); |
| 11 |
Date_Init("Language=German","DateFormat=US","Internal=0"); |
| 12 |
|
| 13 |
my $tests=" |
| 14 |
|
| 15 |
08.04.1999 => 1999080400:00:00 |
| 16 |
|
| 17 |
"; |
| 18 |
|
| 19 |
$::ti->tests(func => \&ParseDate, |
| 20 |
tests => $tests); |
| 21 |
$::ti->done_testing(); |
| 22 |
|
| 23 |
#Local Variables: |
| 24 |
#mode: cperl |
| 25 |
#indent-tabs-mode: nil |
| 26 |
#cperl-indent-level: 3 |
| 27 |
#cperl-continued-statement-offset: 2 |
| 28 |
#cperl-continued-brace-offset: 0 |
| 29 |
#cperl-brace-offset: 0 |
| 30 |
#cperl-brace-imaginary-offset: 0 |
| 31 |
#cperl-label-offset: 0 |
| 32 |
#End: |