| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::Uz::Arab - Package for language Uzbek | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::Uz::Arab; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\uz_Arab.xml | ||||||||||||||||||||||||||||
| 11 | # on Fri 17 Jan 12:03:31 pm GMT | ||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||
| 13 | 1 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 14 | 1 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 15 | 1 | ▶ | use version; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||
| 17 | 1 | our $VERSION = version->declare('v0.46.0'); | |||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||
| 19 | 1 | ▶ | use v5.12.0; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 20 | 1 | ▶ | use mro 'c3'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 21 | 1 | ▶ | use utf8; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 22 | 1 | ▶ | use feature 'unicode_strings'; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 23 | 1 | ▶ | use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 24 | 1 | ▶ | use Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||
| 26 | 1 | extends('Locale::CLDR::Locales::Root'); | |||||||||||||||||||||||||||
| 27 | has 'display_name_language' => ( | ||||||||||||||||||||||||||||
| 28 | is => 'ro', | ||||||||||||||||||||||||||||
| 29 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 30 | init_arg => undef, | ||||||||||||||||||||||||||||
| 31 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 32 | 0 | ▶ | sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||||||||||||||||||||
| 33 | 0 | my %languages = ( | |||||||||||||||||||||||||||
| 34 | 'fa' => 'دری', | ||||||||||||||||||||||||||||
| 35 | 'ps' => 'پشتو', | ||||||||||||||||||||||||||||
| 36 | 'uz' => 'اوزبیک', | ||||||||||||||||||||||||||||
| 37 | |||||||||||||||||||||||||||||
| 38 | ); | ||||||||||||||||||||||||||||
| 39 | 0 | ▶ | if (@_) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 40 | 0 | return $languages{$_[0]}; | |||||||||||||||||||||||||||
| 41 | } | ||||||||||||||||||||||||||||
| 42 | 0 | return \%languages; | |||||||||||||||||||||||||||
| 43 | } | ||||||||||||||||||||||||||||
| 44 | 0 | }, | |||||||||||||||||||||||||||
| 45 | 1 | ); | |||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||
| 47 | has 'display_name_script' => ( | ||||||||||||||||||||||||||||
| 48 | is => 'ro', | ||||||||||||||||||||||||||||
| 49 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 50 | init_arg => undef, | ||||||||||||||||||||||||||||
| 51 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 52 | 0 | ▶ | sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||||||||||||||||||||
| 53 | 0 | my %scripts = ( | |||||||||||||||||||||||||||
| 54 | 'Arab' => 'عربی', | ||||||||||||||||||||||||||||
| 55 | |||||||||||||||||||||||||||||
| 56 | ); | ||||||||||||||||||||||||||||
| 57 | 0 | ▶ | if ( @_ ) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 58 | 0 | return $scripts{$_[0]}; | |||||||||||||||||||||||||||
| 59 | } | ||||||||||||||||||||||||||||
| 60 | 0 | return \%scripts; | |||||||||||||||||||||||||||
| 61 | } | ||||||||||||||||||||||||||||
| 62 | 0 | } | |||||||||||||||||||||||||||
| 63 | 1 | ); | |||||||||||||||||||||||||||
| 64 | |||||||||||||||||||||||||||||
| 65 | has 'display_name_region' => ( | ||||||||||||||||||||||||||||
| 66 | is => 'ro', | ||||||||||||||||||||||||||||
| 67 | isa => HashRef[Str], | ||||||||||||||||||||||||||||
| 68 | init_arg => undef, | ||||||||||||||||||||||||||||
| 69 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 70 | { | ||||||||||||||||||||||||||||
| 71 | 0 | 'AF' => 'افغانستان', | |||||||||||||||||||||||||||
| 72 | |||||||||||||||||||||||||||||
| 73 | } | ||||||||||||||||||||||||||||
| 74 | }, | ||||||||||||||||||||||||||||
| 75 | 1 | ); | |||||||||||||||||||||||||||
| 76 | |||||||||||||||||||||||||||||
| 77 | has 'text_orientation' => ( | ||||||||||||||||||||||||||||
| 78 | is => 'ro', | ||||||||||||||||||||||||||||
| 79 | isa => HashRef[Str], | ||||||||||||||||||||||||||||
| 80 | init_arg => undef, | ||||||||||||||||||||||||||||
| 81 | 0 | ▶ | default => sub { return { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 82 | 0 | lines => '', | |||||||||||||||||||||||||||
| 83 | characters => 'right-to-left', | ||||||||||||||||||||||||||||
| 84 | }} | ||||||||||||||||||||||||||||
| 85 | 1 | ); | |||||||||||||||||||||||||||
| 86 | |||||||||||||||||||||||||||||
| 87 | has 'characters' => ( | ||||||||||||||||||||||||||||
| 88 | is => 'ro', | ||||||||||||||||||||||||||||
| 89 | isa => HashRef, | ||||||||||||||||||||||||||||
| 90 | init_arg => undef, | ||||||||||||||||||||||||||||
| 91 | default => $^V ge v5.18.0 | ||||||||||||||||||||||||||||
| 92 | ? eval <<'EOT' | ||||||||||||||||||||||||||||
| 93 | sub { | ||||||||||||||||||||||||||||
| 94 | no warnings 'experimental::regex_sets'; | ||||||||||||||||||||||||||||
| 95 | return { | ||||||||||||||||||||||||||||
| 96 | auxiliary => qr{[ ټ ځ څ ډ ړ ږ ښ ګ ڼ ي ۍ ې]}, | ||||||||||||||||||||||||||||
| 97 | index => ['ء', 'آ', 'أ', 'ؤ', 'ئ', 'ا', 'ب', 'پ', 'ة', 'ت', 'ث', 'ټ', 'ج', 'چ', 'ح', 'خ', 'ځ', 'څ', 'د', 'ذ', 'ډ', 'ر', 'ز', 'ړ', 'ږ', 'ژ', 'س', 'ش', 'ښ', 'ص', 'ض', 'ط', 'ظ', 'ع', 'غ', 'ف', 'ق', 'ک', 'ګ', 'گ', 'ل', 'م', 'ن', 'ڼ', 'ه', 'و', 'ۇ', 'ۉ', 'ي', 'ی', 'ۍ', 'ې'], | ||||||||||||||||||||||||||||
| 98 | main => qr{[ً ٌ ٍ َ ُ ِ ّ ْ ٔ ٰ ء آ أ ؤ ئ ا ب پ ة ت ث ج چ ح خ د ذ ر ز ژ س ش ص ض ط ظ ع غ ف ق ک گ ل م ن ه و ۇ ۉ ی]}, | ||||||||||||||||||||||||||||
| 99 | numbers => qr{[ \- ‑ , ٫ ٬ . % ٪ ‰ ؉ + − 0۰ 1۱ 2۲ 3۳ 4۴ 5۵ 6۶ 7۷ 8۸ 9۹]}, | ||||||||||||||||||||||||||||
| 100 | }; | ||||||||||||||||||||||||||||
| 101 | }, | ||||||||||||||||||||||||||||
| 102 | EOT | ||||||||||||||||||||||||||||
| 103 | 0 | ▶ | : sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 104 | 0 | return { index => ['ء', 'آ', 'أ', 'ؤ', 'ئ', 'ا', 'ب', 'پ', 'ة', 'ت', 'ث', 'ټ', 'ج', 'چ', 'ح', 'خ', 'ځ', 'څ', 'د', 'ذ', 'ډ', 'ر', 'ز', 'ړ', 'ږ', 'ژ', 'س', 'ش', 'ښ', 'ص', 'ض', 'ط', 'ظ', 'ع', 'غ', 'ف', 'ق', 'ک', 'ګ', 'گ', 'ل', 'م', 'ن', 'ڼ', 'ه', 'و', 'ۇ', 'ۉ', 'ي', 'ی', 'ۍ', 'ې'], }; | |||||||||||||||||||||||||||
| 105 | }, | ||||||||||||||||||||||||||||
| 106 | 1 | ▶ | ); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 107 | |||||||||||||||||||||||||||||
| 108 | |||||||||||||||||||||||||||||
| 109 | 1 | has 'default_numbering_system' => ( | |||||||||||||||||||||||||||
| 110 | is => 'ro', | ||||||||||||||||||||||||||||
| 111 | isa => Str, | ||||||||||||||||||||||||||||
| 112 | init_arg => undef, | ||||||||||||||||||||||||||||
| 113 | default => 'arabext', | ||||||||||||||||||||||||||||
| 114 | ); | ||||||||||||||||||||||||||||
| 115 | |||||||||||||||||||||||||||||
| 116 | 1 | has native_numbering_system => ( | |||||||||||||||||||||||||||
| 117 | is => 'ro', | ||||||||||||||||||||||||||||
| 118 | isa => Str, | ||||||||||||||||||||||||||||
| 119 | init_arg => undef, | ||||||||||||||||||||||||||||
| 120 | default => 'arabext', | ||||||||||||||||||||||||||||
| 121 | ); | ||||||||||||||||||||||||||||
| 122 | |||||||||||||||||||||||||||||
| 123 | has 'number_symbols' => ( | ||||||||||||||||||||||||||||
| 124 | is => 'ro', | ||||||||||||||||||||||||||||
| 125 | isa => HashRef, | ||||||||||||||||||||||||||||
| 126 | init_arg => undef, | ||||||||||||||||||||||||||||
| 127 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 128 | 0 | 'arabext' => { | |||||||||||||||||||||||||||
| 129 | 'timeSeparator' => q(:), | ||||||||||||||||||||||||||||
| 130 | }, | ||||||||||||||||||||||||||||
| 131 | 'latn' => { | ||||||||||||||||||||||||||||
| 132 | 'decimal' => q(,), | ||||||||||||||||||||||||||||
| 133 | 'group' => q(.), | ||||||||||||||||||||||||||||
| 134 | 'minusSign' => q(−), | ||||||||||||||||||||||||||||
| 135 | 'plusSign' => q(+), | ||||||||||||||||||||||||||||
| 136 | }, | ||||||||||||||||||||||||||||
| 137 | } } | ||||||||||||||||||||||||||||
| 138 | 1 | ); | |||||||||||||||||||||||||||
| 139 | |||||||||||||||||||||||||||||
| 140 | has 'number_currency_formats' => ( | ||||||||||||||||||||||||||||
| 141 | is => 'ro', | ||||||||||||||||||||||||||||
| 142 | isa => HashRef, | ||||||||||||||||||||||||||||
| 143 | init_arg => undef, | ||||||||||||||||||||||||||||
| 144 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 145 | 0 | 'latn' => { | |||||||||||||||||||||||||||
| 146 | 'pattern' => { | ||||||||||||||||||||||||||||
| 147 | 'default' => { | ||||||||||||||||||||||||||||
| 148 | 'standard' => { | ||||||||||||||||||||||||||||
| 149 | 'positive' => '#,##0.00 ¤', | ||||||||||||||||||||||||||||
| 150 | }, | ||||||||||||||||||||||||||||
| 151 | }, | ||||||||||||||||||||||||||||
| 152 | }, | ||||||||||||||||||||||||||||
| 153 | }, | ||||||||||||||||||||||||||||
| 154 | } }, | ||||||||||||||||||||||||||||
| 155 | 1 | ); | |||||||||||||||||||||||||||
| 156 | |||||||||||||||||||||||||||||
| 157 | has 'currencies' => ( | ||||||||||||||||||||||||||||
| 158 | is => 'ro', | ||||||||||||||||||||||||||||
| 159 | isa => HashRef, | ||||||||||||||||||||||||||||
| 160 | init_arg => undef, | ||||||||||||||||||||||||||||
| 161 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 162 | 0 | 'AFN' => { | |||||||||||||||||||||||||||
| 163 | symbol => '؋', | ||||||||||||||||||||||||||||
| 164 | display_name => { | ||||||||||||||||||||||||||||
| 165 | 'currency' => q(افغانی), | ||||||||||||||||||||||||||||
| 166 | }, | ||||||||||||||||||||||||||||
| 167 | }, | ||||||||||||||||||||||||||||
| 168 | } }, | ||||||||||||||||||||||||||||
| 169 | 1 | ); | |||||||||||||||||||||||||||
| 170 | |||||||||||||||||||||||||||||
| 171 | |||||||||||||||||||||||||||||
| 172 | has 'calendar_months' => ( | ||||||||||||||||||||||||||||
| 173 | is => 'ro', | ||||||||||||||||||||||||||||
| 174 | isa => HashRef, | ||||||||||||||||||||||||||||
| 175 | init_arg => undef, | ||||||||||||||||||||||||||||
| 176 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 177 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 178 | 'format' => { | ||||||||||||||||||||||||||||
| 179 | abbreviated => { | ||||||||||||||||||||||||||||
| 180 | nonleap => [ | ||||||||||||||||||||||||||||
| 181 | 'جنو', | ||||||||||||||||||||||||||||
| 182 | 'فبر', | ||||||||||||||||||||||||||||
| 183 | 'مار', | ||||||||||||||||||||||||||||
| 184 | 'اپر', | ||||||||||||||||||||||||||||
| 185 | 'می', | ||||||||||||||||||||||||||||
| 186 | 'جون', | ||||||||||||||||||||||||||||
| 187 | 'جول', | ||||||||||||||||||||||||||||
| 188 | 'اگس', | ||||||||||||||||||||||||||||
| 189 | 'سپت', | ||||||||||||||||||||||||||||
| 190 | 'اکت', | ||||||||||||||||||||||||||||
| 191 | 'نوم', | ||||||||||||||||||||||||||||
| 192 | 'دسم' | ||||||||||||||||||||||||||||
| 193 | ], | ||||||||||||||||||||||||||||
| 194 | leap => [ | ||||||||||||||||||||||||||||
| 195 | |||||||||||||||||||||||||||||
| 196 | ], | ||||||||||||||||||||||||||||
| 197 | }, | ||||||||||||||||||||||||||||
| 198 | wide => { | ||||||||||||||||||||||||||||
| 199 | nonleap => [ | ||||||||||||||||||||||||||||
| 200 | 'جنوری', | ||||||||||||||||||||||||||||
| 201 | 'فبروری', | ||||||||||||||||||||||||||||
| 202 | 'مارچ', | ||||||||||||||||||||||||||||
| 203 | 'اپریل', | ||||||||||||||||||||||||||||
| 204 | 'می', | ||||||||||||||||||||||||||||
| 205 | 'جون', | ||||||||||||||||||||||||||||
| 206 | 'جولای', | ||||||||||||||||||||||||||||
| 207 | 'اگست', | ||||||||||||||||||||||||||||
| 208 | 'سپتمبر', | ||||||||||||||||||||||||||||
| 209 | 'اکتوبر', | ||||||||||||||||||||||||||||
| 210 | 'نومبر', | ||||||||||||||||||||||||||||
| 211 | 'دسمبر' | ||||||||||||||||||||||||||||
| 212 | ], | ||||||||||||||||||||||||||||
| 213 | leap => [ | ||||||||||||||||||||||||||||
| 214 | |||||||||||||||||||||||||||||
| 215 | ], | ||||||||||||||||||||||||||||
| 216 | }, | ||||||||||||||||||||||||||||
| 217 | }, | ||||||||||||||||||||||||||||
| 218 | }, | ||||||||||||||||||||||||||||
| 219 | } }, | ||||||||||||||||||||||||||||
| 220 | 1 | ); | |||||||||||||||||||||||||||
| 221 | |||||||||||||||||||||||||||||
| 222 | has 'calendar_days' => ( | ||||||||||||||||||||||||||||
| 223 | is => 'ro', | ||||||||||||||||||||||||||||
| 224 | isa => HashRef, | ||||||||||||||||||||||||||||
| 225 | init_arg => undef, | ||||||||||||||||||||||||||||
| 226 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 227 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 228 | 'format' => { | ||||||||||||||||||||||||||||
| 229 | abbreviated => { | ||||||||||||||||||||||||||||
| 230 | mon => 'د.', | ||||||||||||||||||||||||||||
| 231 | tue => 'س.', | ||||||||||||||||||||||||||||
| 232 | wed => 'چ.', | ||||||||||||||||||||||||||||
| 233 | thu => 'پ.', | ||||||||||||||||||||||||||||
| 234 | fri => 'ج.', | ||||||||||||||||||||||||||||
| 235 | sat => 'ش.', | ||||||||||||||||||||||||||||
| 236 | sun => 'ی.' | ||||||||||||||||||||||||||||
| 237 | }, | ||||||||||||||||||||||||||||
| 238 | wide => { | ||||||||||||||||||||||||||||
| 239 | mon => 'دوشنبه', | ||||||||||||||||||||||||||||
| 240 | tue => 'سهشنبه', | ||||||||||||||||||||||||||||
| 241 | wed => 'چهارشنبه', | ||||||||||||||||||||||||||||
| 242 | thu => 'پنجشنبه', | ||||||||||||||||||||||||||||
| 243 | fri => 'جمعه', | ||||||||||||||||||||||||||||
| 244 | sat => 'شنبه', | ||||||||||||||||||||||||||||
| 245 | sun => 'یکشنبه' | ||||||||||||||||||||||||||||
| 246 | }, | ||||||||||||||||||||||||||||
| 247 | }, | ||||||||||||||||||||||||||||
| 248 | }, | ||||||||||||||||||||||||||||
| 249 | } }, | ||||||||||||||||||||||||||||
| 250 | 1 | ); | |||||||||||||||||||||||||||
| 251 | |||||||||||||||||||||||||||||
| 252 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 253 | is => 'ro', | ||||||||||||||||||||||||||||
| 254 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 255 | init_arg => undef, | ||||||||||||||||||||||||||||
| 256 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=45 SCAR=76.4
| |||||||||||||||||||||||||||||
| 257 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 258 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 259 | 0 | ▶ | $day_period_type //= 'default'; | ||||||||||||||||||||||||||
|
Condition0%0/2
$day_period_type //= "default"
MC/DC0%0/1
$day_period_type //= "default"
$day_period_type
Truth table0%0/2
A
A= $day_period_type
| |||||||||||||||||||||||||||||
| 260 | SWITCH: | ||||||||||||||||||||||||||||
| 261 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 262 | 0 | ▶ | if ($_ eq 'generic') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 263 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 264 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 265 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 266 | 0 | ▶ | return 'afternoon1' if $time >= 1100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1100 and $time < 1800
MC/DC0%0/2
$time >= 1100 and $time < 1800
$time >= 1100
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1100B= $time < 1800
| |||||||||||||||||||||||||||||
| 267 | && $time < 1800; | ||||||||||||||||||||||||||||
| 268 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2200
MC/DC0%0/2
$time >= 1800 and $time < 2200
$time >= 1800
$time < 2200
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2200
| |||||||||||||||||||||||||||||
| 269 | && $time < 2200; | ||||||||||||||||||||||||||||
| 270 | 0 | ▶ | return 'morning1' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1100
MC/DC0%0/2
$time >= 600 and $time < 1100
$time >= 600
$time < 1100
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1100
| |||||||||||||||||||||||||||||
| 271 | && $time < 1100; | ||||||||||||||||||||||||||||
| 272 | 0 | ▶ | return 'night1' if $time >= 2200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 273 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 274 | } | ||||||||||||||||||||||||||||
| 275 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 276 | 0 | ▶ | return 'afternoon1' if $time >= 1100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1100 and $time < 1800
MC/DC0%0/2
$time >= 1100 and $time < 1800
$time >= 1100
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1100B= $time < 1800
| |||||||||||||||||||||||||||||
| 277 | && $time < 1800; | ||||||||||||||||||||||||||||
| 278 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2200
MC/DC0%0/2
$time >= 1800 and $time < 2200
$time >= 1800
$time < 2200
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2200
| |||||||||||||||||||||||||||||
| 279 | && $time < 2200; | ||||||||||||||||||||||||||||
| 280 | 0 | ▶ | return 'morning1' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1100
MC/DC0%0/2
$time >= 600 and $time < 1100
$time >= 600
$time < 1100
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1100
| |||||||||||||||||||||||||||||
| 281 | && $time < 1100; | ||||||||||||||||||||||||||||
| 282 | 0 | ▶ | return 'night1' if $time >= 2200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 283 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 284 | } | ||||||||||||||||||||||||||||
| 285 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 286 | } | ||||||||||||||||||||||||||||
| 287 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 288 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 289 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 290 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 291 | 0 | ▶ | return 'afternoon1' if $time >= 1100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1100 and $time < 1800
MC/DC0%0/2
$time >= 1100 and $time < 1800
$time >= 1100
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1100B= $time < 1800
| |||||||||||||||||||||||||||||
| 292 | && $time < 1800; | ||||||||||||||||||||||||||||
| 293 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2200
MC/DC0%0/2
$time >= 1800 and $time < 2200
$time >= 1800
$time < 2200
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2200
| |||||||||||||||||||||||||||||
| 294 | && $time < 2200; | ||||||||||||||||||||||||||||
| 295 | 0 | ▶ | return 'morning1' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1100
MC/DC0%0/2
$time >= 600 and $time < 1100
$time >= 600
$time < 1100
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1100
| |||||||||||||||||||||||||||||
| 296 | && $time < 1100; | ||||||||||||||||||||||||||||
| 297 | 0 | ▶ | return 'night1' if $time >= 2200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 298 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 299 | } | ||||||||||||||||||||||||||||
| 300 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 301 | 0 | ▶ | return 'afternoon1' if $time >= 1100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1100 and $time < 1800
MC/DC0%0/2
$time >= 1100 and $time < 1800
$time >= 1100
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1100B= $time < 1800
| |||||||||||||||||||||||||||||
| 302 | && $time < 1800; | ||||||||||||||||||||||||||||
| 303 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2200
MC/DC0%0/2
$time >= 1800 and $time < 2200
$time >= 1800
$time < 2200
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2200
| |||||||||||||||||||||||||||||
| 304 | && $time < 2200; | ||||||||||||||||||||||||||||
| 305 | 0 | ▶ | return 'morning1' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1100
MC/DC0%0/2
$time >= 600 and $time < 1100
$time >= 600
$time < 1100
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1100
| |||||||||||||||||||||||||||||
| 306 | && $time < 1100; | ||||||||||||||||||||||||||||
| 307 | 0 | ▶ | return 'night1' if $time >= 2200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 308 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 309 | } | ||||||||||||||||||||||||||||
| 310 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 311 | } | ||||||||||||||||||||||||||||
| 312 | } | ||||||||||||||||||||||||||||
| 313 | 0 | } }, | |||||||||||||||||||||||||||
| 314 | 1 | ); | |||||||||||||||||||||||||||
| 315 | |||||||||||||||||||||||||||||
| 316 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 317 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 318 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 319 | 1 | }; | |||||||||||||||||||||||||||
| 320 | |||||||||||||||||||||||||||||
| 321 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 322 | is => 'ro', | ||||||||||||||||||||||||||||
| 323 | isa => HashRef, | ||||||||||||||||||||||||||||
| 324 | init_arg => undef, | ||||||||||||||||||||||||||||
| 325 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 326 | 0 | 'generic' => { | |||||||||||||||||||||||||||
| 327 | }, | ||||||||||||||||||||||||||||
| 328 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 329 | abbreviated => { | ||||||||||||||||||||||||||||
| 330 | '0' => 'ق.م.', | ||||||||||||||||||||||||||||
| 331 | '1' => 'م.' | ||||||||||||||||||||||||||||
| 332 | }, | ||||||||||||||||||||||||||||
| 333 | }, | ||||||||||||||||||||||||||||
| 334 | } }, | ||||||||||||||||||||||||||||
| 335 | 1 | ); | |||||||||||||||||||||||||||
| 336 | |||||||||||||||||||||||||||||
| 337 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 338 | is => 'ro', | ||||||||||||||||||||||||||||
| 339 | isa => HashRef, | ||||||||||||||||||||||||||||
| 340 | init_arg => undef, | ||||||||||||||||||||||||||||
| 341 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 342 | 0 | 'generic' => { | |||||||||||||||||||||||||||
| 343 | 'full' => q{G y نچی ییل d نچی MMMM EEEE کونی}, | ||||||||||||||||||||||||||||
| 344 | 'long' => q{d نچی MMMM y G}, | ||||||||||||||||||||||||||||
| 345 | 'medium' => q{d MMM y G}, | ||||||||||||||||||||||||||||
| 346 | 'short' => q{GGGGG y/M/d}, | ||||||||||||||||||||||||||||
| 347 | }, | ||||||||||||||||||||||||||||
| 348 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 349 | 'full' => q{y نچی ییل d نچی MMMM EEEE کونی}, | ||||||||||||||||||||||||||||
| 350 | 'long' => q{d نچی MMMM y}, | ||||||||||||||||||||||||||||
| 351 | 'medium' => q{d MMM y}, | ||||||||||||||||||||||||||||
| 352 | 'short' => q{y/M/d}, | ||||||||||||||||||||||||||||
| 353 | }, | ||||||||||||||||||||||||||||
| 354 | } }, | ||||||||||||||||||||||||||||
| 355 | 1 | ); | |||||||||||||||||||||||||||
| 356 | |||||||||||||||||||||||||||||
| 357 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 358 | is => 'ro', | ||||||||||||||||||||||||||||
| 359 | isa => HashRef, | ||||||||||||||||||||||||||||
| 360 | init_arg => undef, | ||||||||||||||||||||||||||||
| 361 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 362 | 0 | 'generic' => { | |||||||||||||||||||||||||||
| 363 | }, | ||||||||||||||||||||||||||||
| 364 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 365 | 'full' => q{H:mm:ss (zzzz)}, | ||||||||||||||||||||||||||||
| 366 | 'long' => q{H:mm:ss (z)}, | ||||||||||||||||||||||||||||
| 367 | 'medium' => q{H:mm:ss}, | ||||||||||||||||||||||||||||
| 368 | 'short' => q{H:mm}, | ||||||||||||||||||||||||||||
| 369 | }, | ||||||||||||||||||||||||||||
| 370 | } }, | ||||||||||||||||||||||||||||
| 371 | 1 | ); | |||||||||||||||||||||||||||
| 372 | |||||||||||||||||||||||||||||
| 373 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 374 | is => 'ro', | ||||||||||||||||||||||||||||
| 375 | isa => HashRef, | ||||||||||||||||||||||||||||
| 376 | init_arg => undef, | ||||||||||||||||||||||||||||
| 377 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 378 | 0 | 'generic' => { | |||||||||||||||||||||||||||
| 379 | }, | ||||||||||||||||||||||||||||
| 380 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 381 | }, | ||||||||||||||||||||||||||||
| 382 | } }, | ||||||||||||||||||||||||||||
| 383 | 1 | ); | |||||||||||||||||||||||||||
| 384 | |||||||||||||||||||||||||||||
| 385 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 386 | is => 'ro', | ||||||||||||||||||||||||||||
| 387 | isa => HashRef, | ||||||||||||||||||||||||||||
| 388 | init_arg => undef, | ||||||||||||||||||||||||||||
| 389 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 390 | 0 | 'generic' => { | |||||||||||||||||||||||||||
| 391 | MMMMd => q{d نچی MMMM}, | ||||||||||||||||||||||||||||
| 392 | Md => q{M/d}, | ||||||||||||||||||||||||||||
| 393 | }, | ||||||||||||||||||||||||||||
| 394 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 395 | MMMMd => q{d نچی MMMM}, | ||||||||||||||||||||||||||||
| 396 | Md => q{M/d}, | ||||||||||||||||||||||||||||
| 397 | }, | ||||||||||||||||||||||||||||
| 398 | } }, | ||||||||||||||||||||||||||||
| 399 | 1 | ); | |||||||||||||||||||||||||||
| 400 | |||||||||||||||||||||||||||||
| 401 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 402 | is => 'ro', | ||||||||||||||||||||||||||||
| 403 | isa => HashRef, | ||||||||||||||||||||||||||||
| 404 | init_arg => undef, | ||||||||||||||||||||||||||||
| 405 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 406 | 0 | } }, | |||||||||||||||||||||||||||
| 407 | 1 | ); | |||||||||||||||||||||||||||
| 408 | |||||||||||||||||||||||||||||
| 409 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 410 | is => 'ro', | ||||||||||||||||||||||||||||
| 411 | isa => HashRef, | ||||||||||||||||||||||||||||
| 412 | init_arg => undef, | ||||||||||||||||||||||||||||
| 413 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 414 | 0 | } }, | |||||||||||||||||||||||||||
| 415 | 1 | ); | |||||||||||||||||||||||||||
| 416 | |||||||||||||||||||||||||||||
| 417 | has 'time_zone_names' => ( | ||||||||||||||||||||||||||||
| 418 | is => 'ro', | ||||||||||||||||||||||||||||
| 419 | isa => HashRef, | ||||||||||||||||||||||||||||
| 420 | init_arg => undef, | ||||||||||||||||||||||||||||
| 421 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 422 | 0 | 'Afghanistan' => { | |||||||||||||||||||||||||||
| 423 | long => { | ||||||||||||||||||||||||||||
| 424 | 'standard' => q#افغانستان وقتی#, | ||||||||||||||||||||||||||||
| 425 | }, | ||||||||||||||||||||||||||||
| 426 | }, | ||||||||||||||||||||||||||||
| 427 | 'Asia/Kabul' => { | ||||||||||||||||||||||||||||
| 428 | exemplarCity => q#کابل#, | ||||||||||||||||||||||||||||
| 429 | }, | ||||||||||||||||||||||||||||
| 430 | } } | ||||||||||||||||||||||||||||
| 431 | 1 | ); | |||||||||||||||||||||||||||
| 432 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 433 | |||||||||||||||||||||||||||||
| 434 | 1 | 1; | |||||||||||||||||||||||||||
| 435 | |||||||||||||||||||||||||||||
| 436 | # vim: tabstop=4 | ||||||||||||||||||||||||||||