File Coverage

blib/lib/Locale/CLDR/Locales/Ss.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             =encoding utf8
2              
3             =head1 NAME
4              
5             Locale::CLDR::Locales::Ss - Package for language Swati
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Ss;
10             # This file auto generated from Data\common\main\ss.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1616451 use strict;
  1         3  
  1         80  
14 1     1   8 use warnings;
  1         2  
  1         72  
15 1     1   5 use version;
  1         4  
  1         8  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   163 use v5.12.0;
  1         6  
20 1     1   7 use mro 'c3';
  1         2  
  1         8  
21 1     1   35 use utf8;
  1         2  
  1         8  
22 1     1   54 use feature 'unicode_strings';
  1         2  
  1         183  
23 1     1   10 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         12  
24 1     1   3032 use Moo;
  1         24  
  1         10  
25              
26             extends('Locale::CLDR::Locales::Root');
27             has 'display_name_language' => (
28             is => 'ro',
29             isa => CodeRef,
30             init_arg => undef,
31             default => sub {
32             sub {
33             my %languages = (
34             'ss' => 'siSwati',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'display_name_region' => (
46             is => 'ro',
47             isa => HashRef[Str],
48             init_arg => undef,
49             default => sub {
50             {
51             'SZ' => 'eSwatini',
52              
53             }
54             },
55             );
56              
57             has 'characters' => (
58             is => 'ro',
59             isa => HashRef,
60             init_arg => undef,
61             default => $^V ge v5.18.0
62             ? eval <<'EOT'
63             sub {
64             no warnings 'experimental::regex_sets';
65             return {
66             index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'],
67             main => qr{[a b c d e f g h i j k l m n o p q r s t u v w x y z]},
68             };
69             },
70             EOT
71             : sub {
72             return { index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'], };
73             },
74 1     1   229 );
  1         3  
  1         208  
75              
76              
77             has 'quote_start' => (
78             is => 'ro',
79             isa => Str,
80             init_arg => undef,
81             default => qq{‘},
82             );
83              
84             has 'quote_end' => (
85             is => 'ro',
86             isa => Str,
87             init_arg => undef,
88             default => qq{’},
89             );
90              
91             has 'alternate_quote_start' => (
92             is => 'ro',
93             isa => Str,
94             init_arg => undef,
95             default => qq{“},
96             );
97              
98             has 'alternate_quote_end' => (
99             is => 'ro',
100             isa => Str,
101             init_arg => undef,
102             default => qq{”},
103             );
104              
105             has 'number_symbols' => (
106             is => 'ro',
107             isa => HashRef,
108             init_arg => undef,
109             default => sub { {
110             'latn' => {
111             'decimal' => q(,),
112             'group' => q( ),
113             },
114             } }
115             );
116              
117             has 'number_currency_formats' => (
118             is => 'ro',
119             isa => HashRef,
120             init_arg => undef,
121             default => sub { {
122             'latn' => {
123             'pattern' => {
124             'default' => {
125             'standard' => {
126             'positive' => '¤#,##0.00',
127             },
128             },
129             },
130             },
131             } },
132             );
133              
134             has 'currencies' => (
135             is => 'ro',
136             isa => HashRef,
137             init_arg => undef,
138             default => sub { {
139             'SZL' => {
140             symbol => 'E',
141             },
142             'ZAR' => {
143             symbol => 'R',
144             },
145             } },
146             );
147              
148              
149             has 'calendar_months' => (
150             is => 'ro',
151             isa => HashRef,
152             init_arg => undef,
153             default => sub { {
154             'gregorian' => {
155             'format' => {
156             abbreviated => {
157             nonleap => [
158             'Bhi',
159             'Van',
160             'Vol',
161             'Mab',
162             'Nkh',
163             'Nhl',
164             'Kho',
165             'Ngc',
166             'Nyo',
167             'Mph',
168             'Lwe',
169             'Ngo'
170             ],
171             leap => [
172            
173             ],
174             },
175             wide => {
176             nonleap => [
177             'Bhimbidvwane',
178             'iNdlovana',
179             'iNdlovu-lenkhulu',
180             'Mabasa',
181             'iNkhwekhweti',
182             'iNhlaba',
183             'Kholwane',
184             'iNgci',
185             'iNyoni',
186             'iMphala',
187             'Lweti',
188             'iNgongoni'
189             ],
190             leap => [
191            
192             ],
193             },
194             },
195             },
196             } },
197             );
198              
199             has 'calendar_days' => (
200             is => 'ro',
201             isa => HashRef,
202             init_arg => undef,
203             default => sub { {
204             'gregorian' => {
205             'format' => {
206             abbreviated => {
207             mon => 'Mso',
208             tue => 'Bil',
209             wed => 'Tsa',
210             thu => 'Ne',
211             fri => 'Hla',
212             sat => 'Mgc',
213             sun => 'Son'
214             },
215             wide => {
216             mon => 'uMsombuluko',
217             tue => 'Lesibili',
218             wed => 'Lesitsatfu',
219             thu => 'Lesine',
220             fri => 'Lesihlanu',
221             sat => 'uMgcibelo',
222             sun => 'Lisontfo'
223             },
224             },
225             },
226             } },
227             );
228              
229             has 'eras' => (
230             is => 'ro',
231             isa => HashRef,
232             init_arg => undef,
233             default => sub { {
234             'gregorian' => {
235             },
236             } },
237             );
238              
239             has 'date_formats' => (
240             is => 'ro',
241             isa => HashRef,
242             init_arg => undef,
243             default => sub { {
244             'gregorian' => {
245             },
246             } },
247             );
248              
249             has 'time_formats' => (
250             is => 'ro',
251             isa => HashRef,
252             init_arg => undef,
253             default => sub { {
254             'gregorian' => {
255             },
256             } },
257             );
258              
259             has 'datetime_formats' => (
260             is => 'ro',
261             isa => HashRef,
262             init_arg => undef,
263             default => sub { {
264             'gregorian' => {
265             },
266             } },
267             );
268              
269             has 'datetime_formats_available_formats' => (
270             is => 'ro',
271             isa => HashRef,
272             init_arg => undef,
273             default => sub { {
274             } },
275             );
276              
277             has 'datetime_formats_append_item' => (
278             is => 'ro',
279             isa => HashRef,
280             init_arg => undef,
281             default => sub { {
282             } },
283             );
284              
285             has 'datetime_formats_interval' => (
286             is => 'ro',
287             isa => HashRef,
288             init_arg => undef,
289             default => sub { {
290             } },
291             );
292              
293 1     1   1979 no Moo;
  1         3  
  1         6  
294              
295             1;
296              
297             # vim: tabstop=4