| 1 | package DateTime::TimeZone::UTC; | ||
| 2 | |||
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 3 | our $VERSION = '2.72'; | |
| 8 | |||
| 9 | 3 | ▶ | use parent 'Class::Singleton', 'DateTime::TimeZone'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 12 | 0 | return shift->instance; | |
| 13 | } | ||
| 14 | |||
| 15 | ## no critic (Subroutines::ProhibitUnusedPrivateSubroutines) | ||
| 16 | 0 | ▶ | sub _new_instance { |
|
Subroutine
_new_instance: not called CC=1 SCAR=6.9
| |||
| 17 | 0 | my $class = shift; | |
| 18 | |||
| 19 | 0 | return bless { name => 'UTC' }, $class; | |
| 20 | } | ||
| 21 | ## use critic | ||
| 22 | |||
| 23 | 0 | ▶ | sub is_dst_for_datetime {0} |
|
Subroutine
is_dst_for_datetime: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | |||
| 25 | 0 | ▶ | sub offset_for_datetime {0} |
|
Subroutine
offset_for_datetime: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | 0 | ▶ | sub offset_for_local_datetime {0} |
|
Subroutine
offset_for_local_datetime: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 27 | |||
| 28 | 0 | ▶ | sub short_name_for_datetime {'UTC'} |
|
Subroutine
short_name_for_datetime: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 29 | |||
| 30 | 0 | ▶ | sub category {undef} |
|
Subroutine
category: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | |||
| 32 | 0 | ▶ | sub is_utc {1} |
|
Subroutine
is_utc: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 33 | |||
| 34 | 3 | 1; | |
| 35 | |||
| 36 | # ABSTRACT: The UTC time zone | ||
| 37 | |||
| 38 | __END__ | ||