File Coverage

blib/lib/Locale/CLDR/CalendarPreferences.pm
Criterion Covered Total %
statement 29 29 100.0
branch n/a
condition n/a
subroutine 10 10 100.0
pod n/a
total 39 39 100.0


line stmt bran cond sub pod time code
1             # This file auto generated from Data.xml
2             # on Mon 11 Apr 5:22:55 pm GMT
3              
4             use strict;
5 21     21   9154 use warnings;
  21         37  
  21         508  
6 21     21   91 use version;
  21         33  
  21         419  
7 21     21   79  
  21         33  
  21         99  
8             our $VERSION = version->declare('v0.34.1');
9              
10             use v5.10.1;
11 21     21   1674 use mro 'c3';
  21         56  
12 21     21   89 use utf8;
  21         40  
  21         107  
13 21     21   428 use if $^V ge v5.12.0, feature => 'unicode_strings';
  21         39  
  21         104  
14 21     21   765 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  21         33  
  21         218  
15 21     21   2017 use Moo::Role;
  21         35  
  21         137  
16 21     21   17371  
  21         38  
  21         121  
17             has 'calendar_preferences' => (
18             is => 'ro',
19             isa => HashRef,
20             init_arg => undef,
21             default => sub { {
22             '001' => ['gregorian'],
23             'DJ' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
24             'DZ' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
25             'EH' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
26             'ER' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
27             'IQ' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
28             'JO' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
29             'KM' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
30             'LB' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
31             'LY' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
32             'MA' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
33             'MR' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
34             'OM' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
35             'PS' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
36             'SD' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
37             'SY' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
38             'TD' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
39             'TN' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
40             'YE' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
41             'AE' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
42             'BH' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
43             'KW' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
44             'QA' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
45             'AF' => ['persian','gregorian','islamic','islamic-civil','islamic-tbla'],
46             'IR' => ['persian','gregorian','islamic','islamic-civil','islamic-tbla'],
47             'CN' => ['gregorian','chinese'],
48             'CX' => ['gregorian','chinese'],
49             'HK' => ['gregorian','chinese'],
50             'MO' => ['gregorian','chinese'],
51             'SG' => ['gregorian','chinese'],
52             'EG' => ['gregorian','coptic','islamic','islamic-civil','islamic-tbla'],
53             'ET' => ['gregorian','ethiopic'],
54             'IL' => ['gregorian','hebrew','islamic','islamic-civil','islamic-tbla'],
55             'IN' => ['gregorian','indian'],
56             'JP' => ['gregorian','japanese'],
57             'KR' => ['gregorian','dangi'],
58             'SA' => ['islamic-umalqura','gregorian','islamic','islamic-rgsa'],
59             'TH' => ['buddhist','gregorian'],
60             'TW' => ['gregorian','roc','chinese'],
61             }},
62             );
63              
64             no Moo::Role;
65 21     21   11117  
  21         40  
  21         97  
66             1;
67              
68             # vim: tabstop=4