File Coverage

blib/lib/Locale/CLDR/Locales/Rhg.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::Rhg - Package for language Rohingya
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Rhg;
10             # This file auto generated from Data\common\main\rhg.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1787033 use strict;
  1         3  
  1         40  
14 1     1   4 use warnings;
  1         9  
  1         105  
15 1     1   9 use version;
  1         2  
  1         9  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   133 use v5.12.0;
  1         6  
20 1     1   7 use mro 'c3';
  1         2  
  1         7  
21 1     1   30 use utf8;
  1         3  
  1         8  
22 1     1   58 use feature 'unicode_strings';
  1         2  
  1         201  
23 1     1   11 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         5  
  1         13  
24 1     1   3051 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             'rhg' => '𐴌𐴗𐴥𐴝𐴙𐴚𐴒𐴙𐴝',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'text_orientation' => (
46             is => 'ro',
47             isa => HashRef[Str],
48             init_arg => undef,
49             default => sub { return {
50             lines => '',
51             characters => 'right-to-left',
52             }}
53             );
54              
55             has 'characters' => (
56             is => 'ro',
57             isa => HashRef,
58             init_arg => undef,
59             default => $^V ge v5.18.0
60             ? eval <<'EOT'
61             sub {
62             no warnings 'experimental::regex_sets';
63             return {
64             auxiliary => qr{[ـ]},
65             main => qr{[𐴤 𐴥 𐴦 𐴧 𐴀 𐴝 𐴞 𐴟 𐴠 𐴡 𐴁 𐴂 𐴃 𐴄 𐴅 𐴆 𐴇 𐴈 𐴉 𐴊 𐴋 𐴌 𐴍 𐴎 𐴏 𐴐 𐴑 𐴒 𐴓 𐴔 𐴕 𐴖 𐴗 𐴘 𐴙 𐴚 𐴛 𐴢 𐴣]},
66             numbers => qr{[\- ‑ , . % + 0𐴰 1𐴱 2𐴲 3𐴳 4𐴴 5𐴵 6𐴶 7𐴷 8𐴸 9𐴹]},
67             punctuation => qr{[\- ‐‑ – — ، ؛ \: ! ؟ . … ' " ( ) \[ \]]},
68             };
69             },
70             EOT
71             : sub {
72             return {};
73             },
74 1     1   236 );
  1         3  
  1         275  
75              
76              
77             has 'calendar_months' => (
78             is => 'ro',
79             isa => HashRef,
80             init_arg => undef,
81             default => sub { {
82             'gregorian' => {
83             },
84             } },
85             );
86              
87             has 'eras' => (
88             is => 'ro',
89             isa => HashRef,
90             init_arg => undef,
91             default => sub { {
92             'gregorian' => {
93             },
94             } },
95             );
96              
97             has 'date_formats' => (
98             is => 'ro',
99             isa => HashRef,
100             init_arg => undef,
101             default => sub { {
102             'gregorian' => {
103             },
104             } },
105             );
106              
107             has 'time_formats' => (
108             is => 'ro',
109             isa => HashRef,
110             init_arg => undef,
111             default => sub { {
112             'gregorian' => {
113             'full' => q{HH:mm:ss zzzz},
114             'long' => q{HH:mm:ss z},
115             'medium' => q{HH:mm:ss},
116             'short' => q{H:mm},
117             },
118             } },
119             );
120              
121             has 'datetime_formats' => (
122             is => 'ro',
123             isa => HashRef,
124             init_arg => undef,
125             default => sub { {
126             'gregorian' => {
127             },
128             } },
129             );
130              
131             has 'datetime_formats_available_formats' => (
132             is => 'ro',
133             isa => HashRef,
134             init_arg => undef,
135             default => sub { {
136             } },
137             );
138              
139             has 'datetime_formats_append_item' => (
140             is => 'ro',
141             isa => HashRef,
142             init_arg => undef,
143             default => sub { {
144             } },
145             );
146              
147             has 'datetime_formats_interval' => (
148             is => 'ro',
149             isa => HashRef,
150             init_arg => undef,
151             default => sub { {
152             } },
153             );
154              
155 1     1   1409 no Moo;
  1         10  
  1         6  
156              
157             1;
158              
159             # vim: tabstop=4