File Coverage

blib/lib/DateTime/TimeZone/Asia/Kathmandu.pm
Criterion Covered Total %
statement 21 22 95.4
branch n/a
condition n/a
subroutine 9 10 90.0
pod 1 2 50.0
total 31 34 91.1


line stmt bran cond sub pod time code
1             # This file is auto-generated by the Perl DateTime Suite time zone
2             # code generator (0.08) This code generator comes with the
3             # DateTime::TimeZone module distribution in the tools/ directory
4              
5             #
6             # Generated from /tmp/HahUrb_roy/asia. Olson data version 2025c
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Asia::Kathmandu;
11              
12 3     3   2909 use strict;
  3         11  
  3         139  
13 3     3   20 use warnings;
  3         8  
  3         224  
14 3     3   23 use namespace::autoclean;
  3         7  
  3         27  
15              
16             our $VERSION = '2.66';
17              
18 3     3   344 use Class::Singleton 1.03;
  3         150  
  3         116  
19 3     3   20 use DateTime::TimeZone;
  3         7  
  3         118  
20 3     3   21 use DateTime::TimeZone::OlsonDB;
  3         7  
  3         754  
21              
22             @DateTime::TimeZone::Asia::Kathmandu::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60557739524, # utc_end 1919-12-31 18:18:44 (Wed)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60557760000, # local_end 1920-01-01 00:00:00 (Thu)
31             20476,
32             0,
33             'LMT',
34             ],
35             [
36             60557739524, # utc_start 1919-12-31 18:18:44 (Wed)
37             62640585000, # utc_end 1985-12-31 18:30:00 (Tue)
38             60557759324, # local_start 1919-12-31 23:48:44 (Wed)
39             62640604800, # local_end 1986-01-01 00:00:00 (Wed)
40             19800,
41             0,
42             '+0530',
43             ],
44             [
45             62640585000, # utc_start 1985-12-31 18:30:00 (Tue)
46             DateTime::TimeZone::INFINITY, # utc_end
47             62640605700, # local_start 1986-01-01 00:15:00 (Wed)
48             DateTime::TimeZone::INFINITY, # local_end
49             20700,
50             0,
51             '+0545',
52             ],
53             ];
54              
55 4     4 0 13 sub olson_version {'2025c'}
56              
57 0     0 1 0 sub has_dst_changes {0}
58              
59 3     3   26 sub _max_year {2035}
60              
61             sub _new_instance {
62 3     3   57 return shift->_init( @_, spans => $spans );
63             }
64              
65              
66              
67             1;
68