File Coverage

blib/lib/Locale/CLDR/Locales/Apc.pm
Criterion Covered Total %
statement 32 32 100.0
branch n/a
condition n/a
subroutine 11 11 100.0
pod n/a
total 43 43 100.0


line stmt bran cond sub pod time code
1             package Locale::CLDR::Locales::Apc;
2             # This file auto generated from Data\common\main\apc.xml
3             # on Fri 17 Jan 12:03:31 pm GMT
4              
5 1     1   1605219 use strict;
  1         3  
  1         46  
6 1     1   7 use warnings;
  1         8  
  1         64  
7 1     1   7 use version;
  1         4  
  1         9  
8              
9             our $VERSION = version->declare('v0.46.0');
10              
11 1     1   142 use v5.12.0;
  1         6  
12 1     1   7 use mro 'c3';
  1         1  
  1         9  
13 1     1   35 use utf8;
  1         2  
  1         9  
14 1     1   64 use feature 'unicode_strings';
  1         2  
  1         203  
15 1     1   12 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         20  
  1         13  
16 1     1   3153 use Moo;
  1         2  
  1         14  
17              
18             extends('Locale::CLDR::Locales::Root');
19             has 'display_name_language' => (
20             is => 'ro',
21             isa => CodeRef,
22             init_arg => undef,
23             default => sub {
24             sub {
25             my %languages = (
26             'apc' => 'العامية',
27              
28             );
29             if (@_) {
30             return $languages{$_[0]};
31             }
32             return \%languages;
33             }
34             },
35             );
36              
37             has 'text_orientation' => (
38             is => 'ro',
39             isa => HashRef[Str],
40             init_arg => undef,
41             default => sub { return {
42             lines => '',
43             characters => 'right-to-left',
44             }}
45             );
46              
47             has 'characters' => (
48             is => 'ro',
49             isa => HashRef,
50             init_arg => undef,
51             default => $^V ge v5.18.0
52             ? eval <<'EOT'
53             sub {
54             no warnings 'experimental::regex_sets';
55             return {
56             auxiliary => qr{[ـ‌‍‎‏ پ چ ژ ڜ ڢ ڤ ڥ ٯ ڧ ڨ ک گ ی]},
57             index => ['ا', 'ب', 'ت', 'ث', 'ج', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'س', 'ش', 'ص', 'ض', 'ط', 'ظ', 'ع', 'غ', 'ف', 'ق', 'ك', 'ل', 'م', 'ن', 'ه', 'و', 'ي'],
58             main => qr{[ً ٌ ٍ َ ُ ِ ّ ْ ٰ ء آ أ ؤ إ ئ ا ب ة ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن ه و ى ي]},
59             numbers => qr{[؜‎ \- ‑ , ٫ ٬ . % ٪ ‰ ؉ + 0٠ 1١ 2٢ 3٣ 4٤ 5٥ 6٦ 7٧ 8٨ 9٩]},
60             punctuation => qr{[\- ‐‑ – — ، ؛ \: ! ؟ . … ' " « » ( ) \[ \] \&]},
61             };
62             },
63             EOT
64             : sub {
65             return { index => ['ا', 'ب', 'ت', 'ث', 'ج', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'س', 'ش', 'ص', 'ض', 'ط', 'ظ', 'ع', 'غ', 'ف', 'ق', 'ك', 'ل', 'م', 'ن', 'ه', 'و', 'ي'], };
66             },
67 1     1   219 );
  1         2  
  1         374  
68              
69              
70             has 'currencies' => (
71             is => 'ro',
72             isa => HashRef,
73             init_arg => undef,
74             default => sub { {
75             'JOD' => {
76             symbol => 'د.أ.‏',
77             },
78             } },
79             );
80              
81              
82             has 'calendar_months' => (
83             is => 'ro',
84             isa => HashRef,
85             init_arg => undef,
86             default => sub { {
87             'gregorian' => {
88             'format' => {
89             wide => {
90             nonleap => [
91             'كانون التاني',
92             'شباط',
93             'أذار',
94             'نيسان',
95             'أيار',
96             'حزيران',
97             'تموز',
98             'آب',
99             'أيلول',
100             'تشرين الأول',
101             'تشرين التاني',
102             'كانون الأول'
103             ],
104             leap => [
105            
106             ],
107             },
108             },
109             },
110             } },
111             );
112              
113             has 'calendar_days' => (
114             is => 'ro',
115             isa => HashRef,
116             init_arg => undef,
117             default => sub { {
118             'gregorian' => {
119             'format' => {
120             wide => {
121             mon => 'التنين',
122             tue => 'التلاتا',
123             wed => 'الأربعا',
124             thu => 'الخميس',
125             fri => 'الجمعة',
126             sat => 'السبت',
127             sun => 'الأحد'
128             },
129             },
130             },
131             } },
132             );
133              
134             has 'day_periods' => (
135             is => 'ro',
136             isa => HashRef,
137             init_arg => undef,
138             default => sub { {
139             'gregorian' => {
140             'format' => {
141             'wide' => {
142             'am' => q{صباحا},
143             'pm' => q{مساء},
144             },
145             },
146             },
147             } },
148             );
149              
150             has 'eras' => (
151             is => 'ro',
152             isa => HashRef,
153             init_arg => undef,
154             default => sub { {
155             'gregorian' => {
156             },
157             } },
158             );
159              
160             has 'date_formats' => (
161             is => 'ro',
162             isa => HashRef,
163             init_arg => undef,
164             default => sub { {
165             'gregorian' => {
166             },
167             } },
168             );
169              
170             has 'time_formats' => (
171             is => 'ro',
172             isa => HashRef,
173             init_arg => undef,
174             default => sub { {
175             'gregorian' => {
176             },
177             } },
178             );
179              
180             has 'datetime_formats' => (
181             is => 'ro',
182             isa => HashRef,
183             init_arg => undef,
184             default => sub { {
185             'gregorian' => {
186             },
187             } },
188             );
189              
190             has 'datetime_formats_available_formats' => (
191             is => 'ro',
192             isa => HashRef,
193             init_arg => undef,
194             default => sub { {
195             } },
196             );
197              
198             has 'datetime_formats_append_item' => (
199             is => 'ro',
200             isa => HashRef,
201             init_arg => undef,
202             default => sub { {
203             } },
204             );
205              
206             has 'datetime_formats_interval' => (
207             is => 'ro',
208             isa => HashRef,
209             init_arg => undef,
210             default => sub { {
211             } },
212             );
213              
214 1     1   1789 no Moo;
  1         2  
  1         7  
215              
216             1;
217              
218             # vim: tabstop=4