blib/lib/Time/Moment/Role/TimeZone.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 12 | 50.0 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 2 | unless defined $tz and $tz->can('offset_for_datetime') |
20 | 0 | 2 | unless defined $tz and $tz->can('offset_for_local_datetime') |
23 | 0 | 2 | unless (eval { do { $offset = $tz->offset_for_local_datetime($self); 1 } }) |
27 | 0 | 2 | if defined $error |
35 | 1 | 0 | if $localtime[5] >= 0 |
44 | 1 | 0 | if $gmtime[5] >= 0 |