File Coverage

blib/lib/Locale/CLDR/Locales/Skr.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::Skr;
2             # This file auto generated from Data\common\main\skr.xml
3             # on Fri 17 Jan 12:03:31 pm GMT
4              
5 1     1   1969345 use strict;
  1         3  
  1         46  
6 1     1   8 use warnings;
  1         8  
  1         70  
7 1     1   7 use version;
  1         2  
  1         9  
8              
9             our $VERSION = version->declare('v0.46.0');
10              
11 1     1   184 use v5.12.0;
  1         5  
12 1     1   6 use mro 'c3';
  1         3  
  1         9  
13 1     1   61 use utf8;
  1         3  
  1         10  
14 1     1   56 use feature 'unicode_strings';
  1         2  
  1         189  
15 1     1   8 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         5  
  1         12  
16 1     1   3092 use Moo;
  1         2  
  1         15  
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             'en' => 'سرائیکی ► skr',
27             'skr' => 'سرائیکی',
28              
29             );
30             if (@_) {
31             return $languages{$_[0]};
32             }
33             return \%languages;
34             }
35             },
36             );
37              
38             has 'display_name_region' => (
39             is => 'ro',
40             isa => HashRef[Str],
41             init_arg => undef,
42             default => sub {
43             {
44             'PK' => 'پاکستان',
45              
46             }
47             },
48             );
49              
50             has 'display_name_measurement_system' => (
51             is => 'ro',
52             isa => HashRef[Str],
53             init_arg => undef,
54             default => sub {
55             {
56             'metric' => q{مِیٹرک},
57             'UK' => q{یو کے},
58             'US' => q{یو ایس},
59              
60             }
61             },
62             );
63              
64             has 'text_orientation' => (
65             is => 'ro',
66             isa => HashRef[Str],
67             init_arg => undef,
68             default => sub { return {
69             lines => '',
70             characters => 'right-to-left',
71             }}
72             );
73              
74             has 'characters' => (
75             is => 'ro',
76             isa => HashRef,
77             init_arg => undef,
78             default => $^V ge v5.18.0
79             ? eval <<'EOT'
80             sub {
81             no warnings 'experimental::regex_sets';
82             return {
83             main => qr{[ء آ ؤ ئ ا ب ٻ پ ت ث ٹ ج ڄ چ ح خ د ذ ڈ ڊ ݙ ر ز ڑ ژ س ش ص ض ط ظ ع غ ف ق ک گ ڳ ل م ن ں ݨ ھ ہ ۃ و ی ے]},
84             numbers => qr{[\- ‑ , ٫ ٬ . % ٪ ‰ ؉ + 0٠ 1١ 2٢ 3٣ 4٤ 5٥ 6٦ 7٧ 8٨ 9٩]},
85             punctuation => qr{[\- ‐‑ – — ، ؛ \: ! ؟ . … ' " « » ( ) \[ \] / ؎ ؏]},
86             };
87             },
88             EOT
89             : sub {
90             return {};
91             },
92 1     1   228 );
  1         3  
  1         294  
93              
94              
95             has 'calendar_months' => (
96             is => 'ro',
97             isa => HashRef,
98             init_arg => undef,
99             default => sub { {
100             'gregorian' => {
101             'format' => {
102             wide => {
103             nonleap => [
104             'جنوری',
105             'فروری',
106             'مارچ',
107             'اپریل',
108             'مئی',
109             'جون',
110             'جولائی',
111             'اگست',
112             'ستمبر',
113             'اکتوبر',
114             'نومبر',
115             'دسمبر'
116             ],
117             leap => [
118            
119             ],
120             },
121             },
122             },
123             } },
124             );
125              
126             has 'calendar_days' => (
127             is => 'ro',
128             isa => HashRef,
129             init_arg => undef,
130             default => sub { {
131             'gregorian' => {
132             'format' => {
133             wide => {
134             mon => 'سوموار',
135             tue => 'منگل',
136             wed => 'ٻدھ',
137             thu => 'خمیس',
138             fri => 'جمعہ',
139             sat => 'چھݨ چھݨ',
140             sun => 'اتوار'
141             },
142             },
143             },
144             } },
145             );
146              
147             has 'day_periods' => (
148             is => 'ro',
149             isa => HashRef,
150             init_arg => undef,
151             default => sub { {
152             'gregorian' => {
153             'format' => {
154             'wide' => {
155             'am' => q{اے ایم},
156             'pm' => q{پی ایم},
157             },
158             },
159             },
160             } },
161             );
162              
163             has 'eras' => (
164             is => 'ro',
165             isa => HashRef,
166             init_arg => undef,
167             default => sub { {
168             'gregorian' => {
169             },
170             } },
171             );
172              
173             has 'date_formats' => (
174             is => 'ro',
175             isa => HashRef,
176             init_arg => undef,
177             default => sub { {
178             'gregorian' => {
179             },
180             } },
181             );
182              
183             has 'time_formats' => (
184             is => 'ro',
185             isa => HashRef,
186             init_arg => undef,
187             default => sub { {
188             'gregorian' => {
189             },
190             } },
191             );
192              
193             has 'datetime_formats' => (
194             is => 'ro',
195             isa => HashRef,
196             init_arg => undef,
197             default => sub { {
198             'gregorian' => {
199             },
200             } },
201             );
202              
203             has 'datetime_formats_available_formats' => (
204             is => 'ro',
205             isa => HashRef,
206             init_arg => undef,
207             default => sub { {
208             } },
209             );
210              
211             has 'datetime_formats_append_item' => (
212             is => 'ro',
213             isa => HashRef,
214             init_arg => undef,
215             default => sub { {
216             } },
217             );
218              
219             has 'datetime_formats_interval' => (
220             is => 'ro',
221             isa => HashRef,
222             init_arg => undef,
223             default => sub { {
224             } },
225             );
226              
227             has 'time_zone_names' => (
228             is => 'ro',
229             isa => HashRef,
230             init_arg => undef,
231             default => sub { {
232             gmtFormat => q(جی ایم ٹی {0}),
233             gmtZeroFormat => q(جی ایم ٹی),
234             regionFormat => q({0} وقت),
235             regionFormat => q({0} ݙین٘ہ موسمی وقت),
236             'GMT' => {
237             long => {
238             'standard' => q#جی ایم ٹی#,
239             },
240             },
241             } }
242             );
243 1     1   1813 no Moo;
  1         4  
  1         6  
244              
245             1;
246              
247             # vim: tabstop=4