File Coverage

blib/lib/Locale/CLDR/Locales/Moh.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::Moh - Package for language Mohawk
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Moh;
10             # This file auto generated from Data\common\main\moh.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1562093 use strict;
  1         3  
  1         47  
14 1     1   7 use warnings;
  1         2  
  1         199  
15 1     1   10 use version;
  1         5  
  1         9  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   175 use v5.12.0;
  1         6  
20 1     1   7 use mro 'c3';
  1         3  
  1         10  
21 1     1   41 use utf8;
  1         3  
  1         9  
22 1     1   74 use feature 'unicode_strings';
  1         3  
  1         178  
23 1     1   8 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         20  
  1         14  
24 1     1   3368 use Moo;
  1         2  
  1         8  
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             'moh' => 'Kanienʼkéha',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'characters' => (
46             is => 'ro',
47             isa => HashRef,
48             init_arg => undef,
49             default => $^V ge v5.18.0
50             ? eval <<'EOT'
51             sub {
52             no warnings 'experimental::regex_sets';
53             return {
54             auxiliary => qr{[b c d f g j l m p q u v x z]},
55             index => ['A', 'E', 'H', 'I', 'K', 'N', 'O', 'R', 'S', 'T', 'W', 'Y'],
56             main => qr{[aáà {a\:}{á\:}{à\:} eéè {e\:}{é\:}{è\:} h iíì {i\:}{í\:}{ì\:} k n oóò {o\:}{ó\:}{ò\:} r s t w y ʼ]},
57             };
58             },
59             EOT
60             : sub {
61             return { index => ['A', 'E', 'H', 'I', 'K', 'N', 'O', 'R', 'S', 'T', 'W', 'Y'], };
62             },
63 1     1   167 );
  1         3  
  1         206  
64              
65              
66             has 'eras' => (
67             is => 'ro',
68             isa => HashRef,
69             init_arg => undef,
70             default => sub { {
71             'gregorian' => {
72             },
73             } },
74             );
75              
76             has 'date_formats' => (
77             is => 'ro',
78             isa => HashRef,
79             init_arg => undef,
80             default => sub { {
81             'gregorian' => {
82             },
83             } },
84             );
85              
86             has 'time_formats' => (
87             is => 'ro',
88             isa => HashRef,
89             init_arg => undef,
90             default => sub { {
91             'gregorian' => {
92             'full' => q{h:mm:ss a zzzz},
93             'long' => q{h:mm:ss a z},
94             'medium' => q{h:mm:ss a},
95             'short' => q{h:mm a},
96             },
97             } },
98             );
99              
100             has 'datetime_formats' => (
101             is => 'ro',
102             isa => HashRef,
103             init_arg => undef,
104             default => sub { {
105             'gregorian' => {
106             },
107             } },
108             );
109              
110             has 'datetime_formats_available_formats' => (
111             is => 'ro',
112             isa => HashRef,
113             init_arg => undef,
114             default => sub { {
115             } },
116             );
117              
118             has 'datetime_formats_append_item' => (
119             is => 'ro',
120             isa => HashRef,
121             init_arg => undef,
122             default => sub { {
123             } },
124             );
125              
126             has 'datetime_formats_interval' => (
127             is => 'ro',
128             isa => HashRef,
129             init_arg => undef,
130             default => sub { {
131             } },
132             );
133              
134 1     1   1633 no Moo;
  1         3  
  1         7  
135              
136             1;
137              
138             # vim: tabstop=4