| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::Bn::Beng::In - Package for language Bangla | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::Bn::Beng::In; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\bn_IN.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::Bn::Beng'); | |||||||||||||||||||||||||||
| 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 | 'ksh' => 'কোলোনিয়ান', | ||||||||||||||||||||||||||||
| 35 | |||||||||||||||||||||||||||||
| 36 | ); | ||||||||||||||||||||||||||||
| 37 | 0 | ▶ | if (@_) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 38 | 0 | return $languages{$_[0]}; | |||||||||||||||||||||||||||
| 39 | } | ||||||||||||||||||||||||||||
| 40 | 0 | return \%languages; | |||||||||||||||||||||||||||
| 41 | } | ||||||||||||||||||||||||||||
| 42 | 0 | }, | |||||||||||||||||||||||||||
| 43 | 1 | ); | |||||||||||||||||||||||||||
| 44 | |||||||||||||||||||||||||||||
| 45 | has 'display_name_region' => ( | ||||||||||||||||||||||||||||
| 46 | is => 'ro', | ||||||||||||||||||||||||||||
| 47 | isa => HashRef[Str], | ||||||||||||||||||||||||||||
| 48 | init_arg => undef, | ||||||||||||||||||||||||||||
| 49 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 50 | { | ||||||||||||||||||||||||||||
| 51 | 0 | '018' => 'দক্ষিণাঞ্চলীয় আফ্রিকা', | |||||||||||||||||||||||||||
| 52 | '202' => 'সাহারা-নিম্ন আফ্রিকা', | ||||||||||||||||||||||||||||
| 53 | 'CD@alt=variant' => 'কঙ্গো (DRC)', | ||||||||||||||||||||||||||||
| 54 | 'NZ@alt=variant' => 'আওটেয়ারোয়া নিউজিল্যান্ড', | ||||||||||||||||||||||||||||
| 55 | 'QO' => 'ওশিয়ানিয়ার দূরবর্তী অঞ্চল', | ||||||||||||||||||||||||||||
| 56 | 'UM' => 'মার্কিন যুক্তরাষ্ট্রের দূরবর্তী দ্বীপপুঞ্জ', | ||||||||||||||||||||||||||||
| 57 | |||||||||||||||||||||||||||||
| 58 | } | ||||||||||||||||||||||||||||
| 59 | }, | ||||||||||||||||||||||||||||
| 60 | 1 | ); | |||||||||||||||||||||||||||
| 61 | |||||||||||||||||||||||||||||
| 62 | has 'display_name_type' => ( | ||||||||||||||||||||||||||||
| 63 | is => 'ro', | ||||||||||||||||||||||||||||
| 64 | isa => HashRef[HashRef[Str]], | ||||||||||||||||||||||||||||
| 65 | init_arg => undef, | ||||||||||||||||||||||||||||
| 66 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 67 | { | ||||||||||||||||||||||||||||
| 68 | 0 | 'calendar' => { | |||||||||||||||||||||||||||
| 69 | 'gregorian' => q{গ্রেগোরিয়ান ক্যালেন্ডার}, | ||||||||||||||||||||||||||||
| 70 | 'iso8601' => q{ISO-8601 ক্যালেন্ডার}, | ||||||||||||||||||||||||||||
| 71 | }, | ||||||||||||||||||||||||||||
| 72 | |||||||||||||||||||||||||||||
| 73 | } | ||||||||||||||||||||||||||||
| 74 | }, | ||||||||||||||||||||||||||||
| 75 | 1 | ); | |||||||||||||||||||||||||||
| 76 | |||||||||||||||||||||||||||||
| 77 | has 'display_name_measurement_system' => ( | ||||||||||||||||||||||||||||
| 78 | is => 'ro', | ||||||||||||||||||||||||||||
| 79 | isa => HashRef[Str], | ||||||||||||||||||||||||||||
| 80 | init_arg => undef, | ||||||||||||||||||||||||||||
| 81 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 82 | { | ||||||||||||||||||||||||||||
| 83 | 0 | 'US' => q{ইউএস}, | |||||||||||||||||||||||||||
| 84 | |||||||||||||||||||||||||||||
| 85 | } | ||||||||||||||||||||||||||||
| 86 | }, | ||||||||||||||||||||||||||||
| 87 | 1 | ); | |||||||||||||||||||||||||||
| 88 | |||||||||||||||||||||||||||||
| 89 | has 'ellipsis' => ( | ||||||||||||||||||||||||||||
| 90 | is => 'ro', | ||||||||||||||||||||||||||||
| 91 | isa => HashRef, | ||||||||||||||||||||||||||||
| 92 | init_arg => undef, | ||||||||||||||||||||||||||||
| 93 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 94 | return { | ||||||||||||||||||||||||||||
| 95 | 0 | 'final' => '{0}…', | |||||||||||||||||||||||||||
| 96 | 'initial' => '…{0}', | ||||||||||||||||||||||||||||
| 97 | 'medial' => '{0}…{1}', | ||||||||||||||||||||||||||||
| 98 | 'word-medial' => '{0}…{1}', | ||||||||||||||||||||||||||||
| 99 | }; | ||||||||||||||||||||||||||||
| 100 | }, | ||||||||||||||||||||||||||||
| 101 | 1 | ); | |||||||||||||||||||||||||||
| 102 | |||||||||||||||||||||||||||||
| 103 | has 'units' => ( | ||||||||||||||||||||||||||||
| 104 | is => 'ro', | ||||||||||||||||||||||||||||
| 105 | isa => HashRef[HashRef[HashRef[Str]]], | ||||||||||||||||||||||||||||
| 106 | init_arg => undef, | ||||||||||||||||||||||||||||
| 107 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 108 | 0 | 'long' => { | |||||||||||||||||||||||||||
| 109 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 110 | '' => { | ||||||||||||||||||||||||||||
| 111 | 'name' => q(প্রধান দিক), | ||||||||||||||||||||||||||||
| 112 | }, | ||||||||||||||||||||||||||||
| 113 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 114 | '' => { | ||||||||||||||||||||||||||||
| 115 | 'name' => q(প্রধান দিক), | ||||||||||||||||||||||||||||
| 116 | }, | ||||||||||||||||||||||||||||
| 117 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 118 | 'times' => { | ||||||||||||||||||||||||||||
| 119 | '1' => q({0}-{1}), | ||||||||||||||||||||||||||||
| 120 | }, | ||||||||||||||||||||||||||||
| 121 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 122 | 'times' => { | ||||||||||||||||||||||||||||
| 123 | '1' => q({0}-{1}), | ||||||||||||||||||||||||||||
| 124 | }, | ||||||||||||||||||||||||||||
| 125 | }, | ||||||||||||||||||||||||||||
| 126 | 'short' => { | ||||||||||||||||||||||||||||
| 127 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 128 | '' => { | ||||||||||||||||||||||||||||
| 129 | 'name' => q(দিক), | ||||||||||||||||||||||||||||
| 130 | }, | ||||||||||||||||||||||||||||
| 131 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 132 | '' => { | ||||||||||||||||||||||||||||
| 133 | 'name' => q(দিক), | ||||||||||||||||||||||||||||
| 134 | }, | ||||||||||||||||||||||||||||
| 135 | }, | ||||||||||||||||||||||||||||
| 136 | } } | ||||||||||||||||||||||||||||
| 137 | 1 | ); | |||||||||||||||||||||||||||
| 138 | |||||||||||||||||||||||||||||
| 139 | has 'number_currency_formats' => ( | ||||||||||||||||||||||||||||
| 140 | is => 'ro', | ||||||||||||||||||||||||||||
| 141 | isa => HashRef, | ||||||||||||||||||||||||||||
| 142 | init_arg => undef, | ||||||||||||||||||||||||||||
| 143 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 144 | 0 | 'beng' => { | |||||||||||||||||||||||||||
| 145 | 'pattern' => { | ||||||||||||||||||||||||||||
| 146 | 'default' => { | ||||||||||||||||||||||||||||
| 147 | 'standard' => { | ||||||||||||||||||||||||||||
| 148 | 'positive' => '¤ #,##,##0.00', | ||||||||||||||||||||||||||||
| 149 | }, | ||||||||||||||||||||||||||||
| 150 | }, | ||||||||||||||||||||||||||||
| 151 | }, | ||||||||||||||||||||||||||||
| 152 | }, | ||||||||||||||||||||||||||||
| 153 | 'latn' => { | ||||||||||||||||||||||||||||
| 154 | 'pattern' => { | ||||||||||||||||||||||||||||
| 155 | 'default' => { | ||||||||||||||||||||||||||||
| 156 | 'accounting' => { | ||||||||||||||||||||||||||||
| 157 | 'negative' => '(¤#,##,##0.00)', | ||||||||||||||||||||||||||||
| 158 | 'positive' => '¤#,##,##0.00', | ||||||||||||||||||||||||||||
| 159 | }, | ||||||||||||||||||||||||||||
| 160 | 'standard' => { | ||||||||||||||||||||||||||||
| 161 | 'positive' => '¤#,##,##0.00', | ||||||||||||||||||||||||||||
| 162 | }, | ||||||||||||||||||||||||||||
| 163 | }, | ||||||||||||||||||||||||||||
| 164 | }, | ||||||||||||||||||||||||||||
| 165 | }, | ||||||||||||||||||||||||||||
| 166 | } }, | ||||||||||||||||||||||||||||
| 167 | 1 | ); | |||||||||||||||||||||||||||
| 168 | |||||||||||||||||||||||||||||
| 169 | has 'currencies' => ( | ||||||||||||||||||||||||||||
| 170 | is => 'ro', | ||||||||||||||||||||||||||||
| 171 | isa => HashRef, | ||||||||||||||||||||||||||||
| 172 | init_arg => undef, | ||||||||||||||||||||||||||||
| 173 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 174 | 0 | 'ANG' => { | |||||||||||||||||||||||||||
| 175 | display_name => { | ||||||||||||||||||||||||||||
| 176 | 'currency' => q(নেদারল্যান্ডস অ্যান্টিলিয়ান গিল্ডার), | ||||||||||||||||||||||||||||
| 177 | }, | ||||||||||||||||||||||||||||
| 178 | }, | ||||||||||||||||||||||||||||
| 179 | 'AWG' => { | ||||||||||||||||||||||||||||
| 180 | display_name => { | ||||||||||||||||||||||||||||
| 181 | 'currency' => q(আরুবান গিল্ডার), | ||||||||||||||||||||||||||||
| 182 | }, | ||||||||||||||||||||||||||||
| 183 | }, | ||||||||||||||||||||||||||||
| 184 | 'BMD' => { | ||||||||||||||||||||||||||||
| 185 | display_name => { | ||||||||||||||||||||||||||||
| 186 | 'currency' => q(বারমুডান ডলার), | ||||||||||||||||||||||||||||
| 187 | }, | ||||||||||||||||||||||||||||
| 188 | }, | ||||||||||||||||||||||||||||
| 189 | 'GTQ' => { | ||||||||||||||||||||||||||||
| 190 | display_name => { | ||||||||||||||||||||||||||||
| 191 | 'currency' => q(গুয়াতেমালান কেৎসাল), | ||||||||||||||||||||||||||||
| 192 | }, | ||||||||||||||||||||||||||||
| 193 | }, | ||||||||||||||||||||||||||||
| 194 | 'HNL' => { | ||||||||||||||||||||||||||||
| 195 | display_name => { | ||||||||||||||||||||||||||||
| 196 | 'currency' => q(হন্ডুরান লেম্পিরা), | ||||||||||||||||||||||||||||
| 197 | }, | ||||||||||||||||||||||||||||
| 198 | }, | ||||||||||||||||||||||||||||
| 199 | 'HTG' => { | ||||||||||||||||||||||||||||
| 200 | display_name => { | ||||||||||||||||||||||||||||
| 201 | 'currency' => q(হাইতিয়ান গুর্দ), | ||||||||||||||||||||||||||||
| 202 | }, | ||||||||||||||||||||||||||||
| 203 | }, | ||||||||||||||||||||||||||||
| 204 | 'MXN' => { | ||||||||||||||||||||||||||||
| 205 | display_name => { | ||||||||||||||||||||||||||||
| 206 | 'currency' => q(মেক্সিকান পেসো), | ||||||||||||||||||||||||||||
| 207 | }, | ||||||||||||||||||||||||||||
| 208 | }, | ||||||||||||||||||||||||||||
| 209 | 'USD' => { | ||||||||||||||||||||||||||||
| 210 | symbol => '$', | ||||||||||||||||||||||||||||
| 211 | }, | ||||||||||||||||||||||||||||
| 212 | 'XCD' => { | ||||||||||||||||||||||||||||
| 213 | display_name => { | ||||||||||||||||||||||||||||
| 214 | 'currency' => q(পূর্ব ক্যারিবিয়ান ডলার), | ||||||||||||||||||||||||||||
| 215 | }, | ||||||||||||||||||||||||||||
| 216 | }, | ||||||||||||||||||||||||||||
| 217 | } }, | ||||||||||||||||||||||||||||
| 218 | 1 | ); | |||||||||||||||||||||||||||
| 219 | |||||||||||||||||||||||||||||
| 220 | |||||||||||||||||||||||||||||
| 221 | has 'calendar_months' => ( | ||||||||||||||||||||||||||||
| 222 | is => 'ro', | ||||||||||||||||||||||||||||
| 223 | isa => HashRef, | ||||||||||||||||||||||||||||
| 224 | init_arg => undef, | ||||||||||||||||||||||||||||
| 225 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 226 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 227 | 'format' => { | ||||||||||||||||||||||||||||
| 228 | abbreviated => { | ||||||||||||||||||||||||||||
| 229 | nonleap => [ | ||||||||||||||||||||||||||||
| 230 | 'জানু', | ||||||||||||||||||||||||||||
| 231 | 'ফেব', | ||||||||||||||||||||||||||||
| 232 | 'মার্চ', | ||||||||||||||||||||||||||||
| 233 | 'এপ্রি', | ||||||||||||||||||||||||||||
| 234 | 'মে', | ||||||||||||||||||||||||||||
| 235 | 'জুন', | ||||||||||||||||||||||||||||
| 236 | 'জুল', | ||||||||||||||||||||||||||||
| 237 | 'আগ', | ||||||||||||||||||||||||||||
| 238 | 'সেপ্টেঃ', | ||||||||||||||||||||||||||||
| 239 | 'অক্টোঃ', | ||||||||||||||||||||||||||||
| 240 | 'নভেঃ', | ||||||||||||||||||||||||||||
| 241 | 'ডিসেঃ' | ||||||||||||||||||||||||||||
| 242 | ], | ||||||||||||||||||||||||||||
| 243 | leap => [ | ||||||||||||||||||||||||||||
| 244 | |||||||||||||||||||||||||||||
| 245 | ], | ||||||||||||||||||||||||||||
| 246 | }, | ||||||||||||||||||||||||||||
| 247 | }, | ||||||||||||||||||||||||||||
| 248 | 'stand-alone' => { | ||||||||||||||||||||||||||||
| 249 | abbreviated => { | ||||||||||||||||||||||||||||
| 250 | nonleap => [ | ||||||||||||||||||||||||||||
| 251 | 'জানু', | ||||||||||||||||||||||||||||
| 252 | 'ফেব', | ||||||||||||||||||||||||||||
| 253 | 'মার্চ', | ||||||||||||||||||||||||||||
| 254 | 'এপ্রিল', | ||||||||||||||||||||||||||||
| 255 | 'মে', | ||||||||||||||||||||||||||||
| 256 | 'জুন', | ||||||||||||||||||||||||||||
| 257 | 'জুলাই', | ||||||||||||||||||||||||||||
| 258 | 'আগস্ট', | ||||||||||||||||||||||||||||
| 259 | 'সেপ্টেঃ', | ||||||||||||||||||||||||||||
| 260 | 'অক্টোঃ', | ||||||||||||||||||||||||||||
| 261 | 'নভেঃ', | ||||||||||||||||||||||||||||
| 262 | 'ডিসেঃ' | ||||||||||||||||||||||||||||
| 263 | ], | ||||||||||||||||||||||||||||
| 264 | leap => [ | ||||||||||||||||||||||||||||
| 265 | |||||||||||||||||||||||||||||
| 266 | ], | ||||||||||||||||||||||||||||
| 267 | }, | ||||||||||||||||||||||||||||
| 268 | narrow => { | ||||||||||||||||||||||||||||
| 269 | nonleap => [ | ||||||||||||||||||||||||||||
| 270 | 'জা', | ||||||||||||||||||||||||||||
| 271 | 'ফে', | ||||||||||||||||||||||||||||
| 272 | 'মা', | ||||||||||||||||||||||||||||
| 273 | 'এ', | ||||||||||||||||||||||||||||
| 274 | 'মে', | ||||||||||||||||||||||||||||
| 275 | 'জুন', | ||||||||||||||||||||||||||||
| 276 | 'জুল', | ||||||||||||||||||||||||||||
| 277 | 'আ', | ||||||||||||||||||||||||||||
| 278 | 'সে', | ||||||||||||||||||||||||||||
| 279 | 'অ', | ||||||||||||||||||||||||||||
| 280 | 'ন', | ||||||||||||||||||||||||||||
| 281 | 'ডি' | ||||||||||||||||||||||||||||
| 282 | ], | ||||||||||||||||||||||||||||
| 283 | leap => [ | ||||||||||||||||||||||||||||
| 284 | |||||||||||||||||||||||||||||
| 285 | ], | ||||||||||||||||||||||||||||
| 286 | }, | ||||||||||||||||||||||||||||
| 287 | }, | ||||||||||||||||||||||||||||
| 288 | }, | ||||||||||||||||||||||||||||
| 289 | } }, | ||||||||||||||||||||||||||||
| 290 | 1 | ); | |||||||||||||||||||||||||||
| 291 | |||||||||||||||||||||||||||||
| 292 | has 'calendar_days' => ( | ||||||||||||||||||||||||||||
| 293 | is => 'ro', | ||||||||||||||||||||||||||||
| 294 | isa => HashRef, | ||||||||||||||||||||||||||||
| 295 | init_arg => undef, | ||||||||||||||||||||||||||||
| 296 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 297 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 298 | 'format' => { | ||||||||||||||||||||||||||||
| 299 | short => { | ||||||||||||||||||||||||||||
| 300 | mon => 'সোঃ', | ||||||||||||||||||||||||||||
| 301 | tue => 'মঃ', | ||||||||||||||||||||||||||||
| 302 | wed => 'বুঃ', | ||||||||||||||||||||||||||||
| 303 | thu => 'বৃঃ', | ||||||||||||||||||||||||||||
| 304 | fri => 'শুঃ', | ||||||||||||||||||||||||||||
| 305 | sat => 'শঃ', | ||||||||||||||||||||||||||||
| 306 | sun => 'রঃ' | ||||||||||||||||||||||||||||
| 307 | }, | ||||||||||||||||||||||||||||
| 308 | }, | ||||||||||||||||||||||||||||
| 309 | }, | ||||||||||||||||||||||||||||
| 310 | } }, | ||||||||||||||||||||||||||||
| 311 | 1 | ); | |||||||||||||||||||||||||||
| 312 | |||||||||||||||||||||||||||||
| 313 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 314 | is => 'ro', | ||||||||||||||||||||||||||||
| 315 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 316 | init_arg => undef, | ||||||||||||||||||||||||||||
| 317 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=30 SCAR=68.4
| |||||||||||||||||||||||||||||
| 318 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 319 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 320 | 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
| |||||||||||||||||||||||||||||
| 321 | SWITCH: | ||||||||||||||||||||||||||||
| 322 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 323 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 324 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 325 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1600
MC/DC0%0/2
$time >= 1200 and $time < 1600
$time >= 1200
$time < 1600
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1600
| |||||||||||||||||||||||||||||
| 326 | && $time < 1600; | ||||||||||||||||||||||||||||
| 327 | 0 | ▶ | return 'afternoon2' if $time >= 1600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1600 and $time < 1800
MC/DC0%0/2
$time >= 1600 and $time < 1800
$time >= 1600
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1600B= $time < 1800
| |||||||||||||||||||||||||||||
| 328 | && $time < 1800; | ||||||||||||||||||||||||||||
| 329 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2000
MC/DC0%0/2
$time >= 1800 and $time < 2000
$time >= 1800
$time < 2000
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2000
| |||||||||||||||||||||||||||||
| 330 | && $time < 2000; | ||||||||||||||||||||||||||||
| 331 | 0 | ▶ | return 'morning1' if $time >= 400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 400 and $time < 600
MC/DC0%0/2
$time >= 400 and $time < 600
$time >= 400
$time < 600
Truth table0%0/3
A and B
A= $time >= 400B= $time < 600
| |||||||||||||||||||||||||||||
| 332 | && $time < 600; | ||||||||||||||||||||||||||||
| 333 | 0 | ▶ | return 'morning2' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1200
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600
$time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
| |||||||||||||||||||||||||||||
| 334 | && $time < 1200; | ||||||||||||||||||||||||||||
| 335 | 0 | ▶ | return 'night1' if $time >= 2000; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 336 | 0 | ▶ | return 'night1' if $time < 400; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 337 | } | ||||||||||||||||||||||||||||
| 338 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 339 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1600
MC/DC0%0/2
$time >= 1200 and $time < 1600
$time >= 1200
$time < 1600
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1600
| |||||||||||||||||||||||||||||
| 340 | && $time < 1600; | ||||||||||||||||||||||||||||
| 341 | 0 | ▶ | return 'afternoon2' if $time >= 1600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1600 and $time < 1800
MC/DC0%0/2
$time >= 1600 and $time < 1800
$time >= 1600
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1600B= $time < 1800
| |||||||||||||||||||||||||||||
| 342 | && $time < 1800; | ||||||||||||||||||||||||||||
| 343 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2000
MC/DC0%0/2
$time >= 1800 and $time < 2000
$time >= 1800
$time < 2000
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2000
| |||||||||||||||||||||||||||||
| 344 | && $time < 2000; | ||||||||||||||||||||||||||||
| 345 | 0 | ▶ | return 'morning1' if $time >= 400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 400 and $time < 600
MC/DC0%0/2
$time >= 400 and $time < 600
$time >= 400
$time < 600
Truth table0%0/3
A and B
A= $time >= 400B= $time < 600
| |||||||||||||||||||||||||||||
| 346 | && $time < 600; | ||||||||||||||||||||||||||||
| 347 | 0 | ▶ | return 'morning2' if $time >= 600 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 600 and $time < 1200
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600
$time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
| |||||||||||||||||||||||||||||
| 348 | && $time < 1200; | ||||||||||||||||||||||||||||
| 349 | 0 | ▶ | return 'night1' if $time >= 2000; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 350 | 0 | ▶ | return 'night1' if $time < 400; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 351 | } | ||||||||||||||||||||||||||||
| 352 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 353 | } | ||||||||||||||||||||||||||||
| 354 | } | ||||||||||||||||||||||||||||
| 355 | 0 | } }, | |||||||||||||||||||||||||||
| 356 | 1 | ); | |||||||||||||||||||||||||||
| 357 | |||||||||||||||||||||||||||||
| 358 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 359 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 360 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 361 | 1 | }; | |||||||||||||||||||||||||||
| 362 | |||||||||||||||||||||||||||||
| 363 | has 'day_periods' => ( | ||||||||||||||||||||||||||||
| 364 | is => 'ro', | ||||||||||||||||||||||||||||
| 365 | isa => HashRef, | ||||||||||||||||||||||||||||
| 366 | init_arg => undef, | ||||||||||||||||||||||||||||
| 367 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 368 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 369 | 'format' => { | ||||||||||||||||||||||||||||
| 370 | 'wide' => { | ||||||||||||||||||||||||||||
| 371 | 'afternoon1' => q{দুপুরবেলায়}, | ||||||||||||||||||||||||||||
| 372 | 'afternoon2' => q{বিকাল}, | ||||||||||||||||||||||||||||
| 373 | 'evening1' => q{সন্ধ্যাবেলায়}, | ||||||||||||||||||||||||||||
| 374 | 'morning1' => q{ভোরবেলায়}, | ||||||||||||||||||||||||||||
| 375 | 'morning2' => q{সকালবেলায়}, | ||||||||||||||||||||||||||||
| 376 | 'night1' => q{রাত্রি}, | ||||||||||||||||||||||||||||
| 377 | }, | ||||||||||||||||||||||||||||
| 378 | }, | ||||||||||||||||||||||||||||
| 379 | }, | ||||||||||||||||||||||||||||
| 380 | } }, | ||||||||||||||||||||||||||||
| 381 | 1 | ); | |||||||||||||||||||||||||||
| 382 | |||||||||||||||||||||||||||||
| 383 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 384 | is => 'ro', | ||||||||||||||||||||||||||||
| 385 | isa => HashRef, | ||||||||||||||||||||||||||||
| 386 | init_arg => undef, | ||||||||||||||||||||||||||||
| 387 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 388 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 389 | abbreviated => { | ||||||||||||||||||||||||||||
| 390 | '0' => 'খ্রিঃপূঃ', | ||||||||||||||||||||||||||||
| 391 | '1' => 'খ্রিঃ' | ||||||||||||||||||||||||||||
| 392 | }, | ||||||||||||||||||||||||||||
| 393 | wide => { | ||||||||||||||||||||||||||||
| 394 | '1' => 'খ্রিষ্টাব্দ' | ||||||||||||||||||||||||||||
| 395 | }, | ||||||||||||||||||||||||||||
| 396 | }, | ||||||||||||||||||||||||||||
| 397 | } }, | ||||||||||||||||||||||||||||
| 398 | 1 | ); | |||||||||||||||||||||||||||
| 399 | |||||||||||||||||||||||||||||
| 400 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 401 | is => 'ro', | ||||||||||||||||||||||||||||
| 402 | isa => HashRef, | ||||||||||||||||||||||||||||
| 403 | init_arg => undef, | ||||||||||||||||||||||||||||
| 404 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 405 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 406 | }, | ||||||||||||||||||||||||||||
| 407 | } }, | ||||||||||||||||||||||||||||
| 408 | 1 | ); | |||||||||||||||||||||||||||
| 409 | |||||||||||||||||||||||||||||
| 410 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 411 | is => 'ro', | ||||||||||||||||||||||||||||
| 412 | isa => HashRef, | ||||||||||||||||||||||||||||
| 413 | init_arg => undef, | ||||||||||||||||||||||||||||
| 414 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 415 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 416 | }, | ||||||||||||||||||||||||||||
| 417 | } }, | ||||||||||||||||||||||||||||
| 418 | 1 | ); | |||||||||||||||||||||||||||
| 419 | |||||||||||||||||||||||||||||
| 420 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 421 | is => 'ro', | ||||||||||||||||||||||||||||
| 422 | isa => HashRef, | ||||||||||||||||||||||||||||
| 423 | init_arg => undef, | ||||||||||||||||||||||||||||
| 424 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 425 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 426 | }, | ||||||||||||||||||||||||||||
| 427 | } }, | ||||||||||||||||||||||||||||
| 428 | 1 | ); | |||||||||||||||||||||||||||
| 429 | |||||||||||||||||||||||||||||
| 430 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 431 | is => 'ro', | ||||||||||||||||||||||||||||
| 432 | isa => HashRef, | ||||||||||||||||||||||||||||
| 433 | init_arg => undef, | ||||||||||||||||||||||||||||
| 434 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 435 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 436 | MMMMW => q{MMMM এর W নম্বর সপ্তাহ}, | ||||||||||||||||||||||||||||
| 437 | }, | ||||||||||||||||||||||||||||
| 438 | } }, | ||||||||||||||||||||||||||||
| 439 | 1 | ); | |||||||||||||||||||||||||||
| 440 | |||||||||||||||||||||||||||||
| 441 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 442 | is => 'ro', | ||||||||||||||||||||||||||||
| 443 | isa => HashRef, | ||||||||||||||||||||||||||||
| 444 | init_arg => undef, | ||||||||||||||||||||||||||||
| 445 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 446 | 0 | } }, | |||||||||||||||||||||||||||
| 447 | 1 | ); | |||||||||||||||||||||||||||
| 448 | |||||||||||||||||||||||||||||
| 449 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 450 | is => 'ro', | ||||||||||||||||||||||||||||
| 451 | isa => HashRef, | ||||||||||||||||||||||||||||
| 452 | init_arg => undef, | ||||||||||||||||||||||||||||
| 453 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 454 | 0 | } }, | |||||||||||||||||||||||||||
| 455 | 1 | ); | |||||||||||||||||||||||||||
| 456 | |||||||||||||||||||||||||||||
| 457 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 458 | |||||||||||||||||||||||||||||
| 459 | 1 | 1; | |||||||||||||||||||||||||||
| 460 | |||||||||||||||||||||||||||||
| 461 | # vim: tabstop=4 | ||||||||||||||||||||||||||||