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