File Coverage

blib/lib/DateTime/Calendar/HalariSamvata.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package DateTime::Calendar::HalariSamvata;
2              
3             # $Id$
4              
5 3     3   260247 use strict;
  3         5  
  3         93  
6 3     3   14 use warnings;
  3         6  
  3         82  
7 3     3   15 use Carp;
  3         4  
  3         224  
8 3     3   17 use base 'DateTime::Indic::Chandramana';
  3         5  
  3         1049  
9              
10             our $VERSION = 0.1;
11              
12             ## no critic 'ProhibitConstantPragma'
13              
14             sub _era {
15             my ($self) = @_;
16              
17             return 3044;
18             }
19              
20             sub _masa_offset {
21             my ($self) = @_;
22              
23             return 4;
24             }
25              
26             1;
27              
28             __END__