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             package Locale::CLDR::CalendarPreferences;
2             # This file auto generated from Data.xml
3             # on Fri 13 Oct 9:03:43 am GMT
4              
5 21     21   10924 use strict;
  21         63  
  21         668  
6 21     21   140 use warnings;
  21         59  
  21         547  
7 21     21   116 use version;
  21         41  
  21         127  
8              
9             our $VERSION = version->declare('v0.34.2');
10              
11 21     21   2158 use v5.10.1;
  21         94  
12 21     21   125 use mro 'c3';
  21         106  
  21         145  
13 21     21   671 use utf8;
  21         74  
  21         127  
14 21     21   848 use if $^V ge v5.12.0, feature => 'unicode_strings';
  21         63  
  21         312  
15 21     21   2317 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  21         65  
  21         144  
16 21     21   22962 use Moo::Role;
  21         63  
  21         133  
17              
18             has 'calendar_preferences' => (
19             is => 'ro',
20             isa => HashRef,
21             init_arg => undef,
22             default => sub { {
23             '001' => ['gregorian'],
24             'DJ' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
25             'DZ' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
26             'EH' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
27             'ER' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
28             'IQ' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
29             'JO' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
30             'KM' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
31             'LB' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
32             'LY' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
33             'MA' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
34             'MR' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
35             'OM' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
36             'PS' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
37             'SD' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
38             'SY' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
39             'TD' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
40             'TN' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
41             'YE' => ['gregorian','islamic','islamic-civil','islamic-tbla'],
42             'AE' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
43             'BH' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
44             'KW' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
45             'QA' => ['gregorian','islamic-umalqura','islamic','islamic-civil','islamic-tbla'],
46             'AF' => ['persian','gregorian','islamic','islamic-civil','islamic-tbla'],
47             'IR' => ['persian','gregorian','islamic','islamic-civil','islamic-tbla'],
48             'CN' => ['gregorian','chinese'],
49             'CX' => ['gregorian','chinese'],
50             'HK' => ['gregorian','chinese'],
51             'MO' => ['gregorian','chinese'],
52             'SG' => ['gregorian','chinese'],
53             'EG' => ['gregorian','coptic','islamic','islamic-civil','islamic-tbla'],
54             'ET' => ['gregorian','ethiopic'],
55             'IL' => ['gregorian','hebrew','islamic','islamic-civil','islamic-tbla'],
56             'IN' => ['gregorian','indian'],
57             'JP' => ['gregorian','japanese'],
58             'KR' => ['gregorian','dangi'],
59             'SA' => ['islamic-umalqura','gregorian','islamic','islamic-rgsa'],
60             'TH' => ['buddhist','gregorian'],
61             'TW' => ['gregorian','roc','chinese'],
62             }},
63             );
64              
65 21     21   14949 no Moo::Role;
  21         58  
  21         133  
66              
67             1;
68              
69             # vim: tabstop=4