Debian Codegraph @

t/dm5.date_misc_b.t

raw symbols SCIP
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("Internal=2");
11
12 my $tests="
13 # Tests YYMMDD time
14
15 1996061800:00:00 => '1996-06-18 00:00:00'
16
17 # Tests YYMMDDHHMNSS
18
19 19960618000000 => '1996-06-18 00:00:00'
20 ";
21
22 $::ti->tests(func => \&ParseDate,
23 tests => $tests);
24 $::ti->done_testing();
25
26 #Local Variables:
27 #mode: cperl
28 #indent-tabs-mode: nil
29 #cperl-indent-level: 3
30 #cperl-continued-statement-offset: 2
31 #cperl-continued-brace-offset: 0
32 #cperl-brace-offset: 0
33 #cperl-brace-imaginary-offset: 0
34 #cperl-label-offset: 0
35 #End: