line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Value::Object::W3CDateTimeZ; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
25905
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
54
|
|
4
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
59
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
669
|
use parent 'Value::Object::W3CDateTime'; |
|
2
|
|
|
|
|
300
|
|
|
2
|
|
|
|
|
11
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.15'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub _why_invalid |
11
|
|
|
|
|
|
|
{ |
12
|
23
|
|
|
23
|
|
32
|
my ( $self, $value ) = @_; |
13
|
|
|
|
|
|
|
|
14
|
23
|
100
|
100
|
|
|
160
|
return ( ref($self) . ': value time zone indicator is incorrect', '', undef ) |
15
|
|
|
|
|
|
|
unless defined($value) and $value =~ /Z$/; |
16
|
|
|
|
|
|
|
|
17
|
15
|
|
|
|
|
44
|
return $self->SUPER::_why_invalid( $value ); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
__END__ |