line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DateTime::Format::MSSQL; |
2
|
|
|
|
|
|
|
$DateTime::Format::MSSQL::VERSION = '1.001000'; |
3
|
|
|
|
|
|
|
# ABSTRACT: parse and format MSSQL DATETIME's |
4
|
1
|
|
|
1
|
|
792
|
use strict; |
|
1
|
|
|
|
|
133
|
|
|
1
|
|
|
|
|
34
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
6
|
1
|
|
|
1
|
|
1457
|
use DateTime::Format::Strptime; |
|
1
|
|
|
|
|
319726
|
|
|
1
|
|
|
|
|
134
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new { |
9
|
3
|
|
|
3
|
1
|
1960
|
shift; |
10
|
3
|
|
|
|
|
27
|
DateTime::Format::Strptime->new( |
11
|
|
|
|
|
|
|
@_, |
12
|
|
|
|
|
|
|
pattern => '%Y-%m-%d %H:%M:%S.%3N' |
13
|
|
|
|
|
|
|
) |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
1
|
15
|
sub parse_datetime { shift->new->parse_datetime(@_) } |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
1
|
8093
|
sub format_datetime { shift->new->format_datetime(@_) } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |