File Coverage

blib/lib/Locale/CLDR/Locales/Mic.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::Mic - Package for language Mi'kmaw
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Mic;
10             # This file auto generated from Data\common\main\mic.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1598526 use strict;
  1         3  
  1         30  
14 1     1   3 use warnings;
  1         7  
  1         42  
15 1     1   4 use version;
  1         1  
  1         7  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   91 use v5.12.0;
  1         3  
20 1     1   4 use mro 'c3';
  1         1  
  1         6  
21 1     1   34 use utf8;
  1         1  
  1         7  
22 1     1   29 use feature 'unicode_strings';
  1         1  
  1         121  
23 1     1   5 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         8  
24 1     1   1662 use Moo;
  1         5  
  1         6  
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             'mic' => 'Lʼnuiʼsuti',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'display_name_script' => (
46             is => 'ro',
47             isa => CodeRef,
48             init_arg => undef,
49             default => sub {
50             sub {
51             my %scripts = (
52             'Latn' => 'Latin',
53              
54             );
55             if ( @_ ) {
56             return $scripts{$_[0]};
57             }
58             return \%scripts;
59             }
60             }
61             );
62              
63             has 'characters' => (
64             is => 'ro',
65             isa => HashRef,
66             init_arg => undef,
67             default => $^V ge v5.18.0
68             ? eval <<'EOT'
69             sub {
70             no warnings 'experimental::regex_sets';
71             return {
72             auxiliary => qr{[b c d f g h r v x z]},
73             index => ['AÁ', 'EÉ', 'I', 'Ɨ', 'J', 'K', 'L', 'M', 'N', 'OÓ', 'P', 'Q', 'S', 'T', 'UÚ', 'W', 'Y'],
74             main => qr{[aá eé i ɨ j k l m n oó p q s t uú w y ʼ]},
75             punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’ "“” ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
76             };
77             },
78             EOT
79             : sub {
80             return { index => ['AÁ', 'EÉ', 'I', 'Ɨ', 'J', 'K', 'L', 'M', 'N', 'OÓ', 'P', 'Q', 'S', 'T', 'UÚ', 'W', 'Y'], };
81             },
82 1     1   266 );
  1         2  
  1         274  
83              
84              
85             has 'eras' => (
86             is => 'ro',
87             isa => HashRef,
88             init_arg => undef,
89             default => sub { {
90             'gregorian' => {
91             },
92             } },
93             );
94              
95             has 'date_formats' => (
96             is => 'ro',
97             isa => HashRef,
98             init_arg => undef,
99             default => sub { {
100             'gregorian' => {
101             'full' => q{EEEE, MMMM d, y},
102             'long' => q{MMMM d, y},
103             'medium' => q{MMM d, y},
104             'short' => q{y-MM-dd},
105             },
106             } },
107             );
108              
109             has 'time_formats' => (
110             is => 'ro',
111             isa => HashRef,
112             init_arg => undef,
113             default => sub { {
114             'gregorian' => {
115             'full' => q{h:mm:ss a zzzz},
116             'long' => q{h:mm:ss a z},
117             'medium' => q{h:mm:ss a},
118             'short' => q{h:mm a},
119             },
120             } },
121             );
122              
123             has 'datetime_formats' => (
124             is => 'ro',
125             isa => HashRef,
126             init_arg => undef,
127             default => sub { {
128             'gregorian' => {
129             },
130             } },
131             );
132              
133             has 'datetime_formats_available_formats' => (
134             is => 'ro',
135             isa => HashRef,
136             init_arg => undef,
137             default => sub { {
138             } },
139             );
140              
141             has 'datetime_formats_append_item' => (
142             is => 'ro',
143             isa => HashRef,
144             init_arg => undef,
145             default => sub { {
146             } },
147             );
148              
149             has 'datetime_formats_interval' => (
150             is => 'ro',
151             isa => HashRef,
152             init_arg => undef,
153             default => sub { {
154             } },
155             );
156              
157 1     1   870 no Moo;
  1         3  
  1         4  
158              
159             1;
160              
161             # vim: tabstop=4