| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::En::Shaw - Package for language English | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::En::Shaw; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\en_Shaw.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_region' => ( | ||||||||||||||||||||||||||||
| 28 | is => 'ro', | ||||||||||||||||||||||||||||
| 29 | isa => HashRef[Str], | ||||||||||||||||||||||||||||
| 30 | init_arg => undef, | ||||||||||||||||||||||||||||
| 31 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 32 | { | ||||||||||||||||||||||||||||
| 33 | 0 | '001' => '饜憿饜懟饜懁饜憶', | |||||||||||||||||||||||||||
| 34 | '019' => '路饜懇饜懃饜懅饜懏饜懄饜憭饜懇饜憻', | ||||||||||||||||||||||||||||
| 35 | |||||||||||||||||||||||||||||
| 36 | } | ||||||||||||||||||||||||||||
| 37 | }, | ||||||||||||||||||||||||||||
| 38 | 1 | ); | |||||||||||||||||||||||||||
| 39 | |||||||||||||||||||||||||||||
| 40 | has 'display_name_measurement_system' => ( | ||||||||||||||||||||||||||||
| 41 | is => 'ro', | ||||||||||||||||||||||||||||
| 42 | isa => HashRef[Str], | ||||||||||||||||||||||||||||
| 43 | init_arg => undef, | ||||||||||||||||||||||||||||
| 44 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 45 | { | ||||||||||||||||||||||||||||
| 46 | 0 | 'metric' => q{饜懃饜懅饜憫饜懏饜懄饜憭}, | |||||||||||||||||||||||||||
| 47 | |||||||||||||||||||||||||||||
| 48 | } | ||||||||||||||||||||||||||||
| 49 | }, | ||||||||||||||||||||||||||||
| 50 | 1 | ); | |||||||||||||||||||||||||||
| 51 | |||||||||||||||||||||||||||||
| 52 | has 'characters' => ( | ||||||||||||||||||||||||||||
| 53 | is => 'ro', | ||||||||||||||||||||||||||||
| 54 | isa => HashRef, | ||||||||||||||||||||||||||||
| 55 | init_arg => undef, | ||||||||||||||||||||||||||||
| 56 | default => $^V ge v5.18.0 | ||||||||||||||||||||||||||||
| 57 | ? eval <<'EOT' | ||||||||||||||||||||||||||||
| 58 | sub { | ||||||||||||||||||||||||||||
| 59 | no warnings 'experimental::regex_sets'; | ||||||||||||||||||||||||||||
| 60 | return { | ||||||||||||||||||||||||||||
| 61 | index => ['饜憪', '饜憫', '饜憭', '饜憮', '饜憯', '饜憰', '饜憱', '饜憲', '饜憳', '饜憴', '饜憵', '饜憶', '饜憸', '饜憹', '饜憺', '饜憻', '饜憼', '饜憽', '饜憿', '饜懀', '饜懁', '饜懃', '饜懄', '饜懅', '饜懆', '饜懇', '饜應', '饜懌', '饜懍', '饜懎', '饜懏', '饜懐', '饜懓', '饜懕', '饜懖', '饜懗', '饜懘', '饜懙', '饜懚', '饜懛', '饜懜', '饜懝', '饜懞', '饜懟', '饜懠', '饜懡', '饜懢', '饜懣'], | ||||||||||||||||||||||||||||
| 62 | main => qr{[饜憪 饜憫 饜憭 饜憮 饜憯 饜憰 饜憱 饜憲 饜憳 饜憴 饜憵 饜憶 饜憸 饜憹 饜憺 饜憻 饜憼 饜憽 饜憿 饜懀 饜懁 饜懃 饜懄 饜懅 饜懆 饜懇 饜應 饜懌 饜懍 饜懎 饜懏 饜懐 饜懓 饜懕 饜懖 饜懗 饜懘 饜懙 饜懚 饜懛 饜懜 饜懝 饜懞 饜懟 饜懠 饜懡 饜懢 饜懣]}, | ||||||||||||||||||||||||||||
| 63 | }; | ||||||||||||||||||||||||||||
| 64 | }, | ||||||||||||||||||||||||||||
| 65 | EOT | ||||||||||||||||||||||||||||
| 66 | 0 | ▶ | : sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 67 | 0 | return { index => ['饜憪', '饜憫', '饜憭', '饜憮', '饜憯', '饜憰', '饜憱', '饜憲', '饜憳', '饜憴', '饜憵', '饜憶', '饜憸', '饜憹', '饜憺', '饜憻', '饜憼', '饜憽', '饜憿', '饜懀', '饜懁', '饜懃', '饜懄', '饜懅', '饜懆', '饜懇', '饜應', '饜懌', '饜懍', '饜懎', '饜懏', '饜懐', '饜懓', '饜懕', '饜懖', '饜懗', '饜懘', '饜懙', '饜懚', '饜懛', '饜懜', '饜懝', '饜懞', '饜懟', '饜懠', '饜懡', '饜懢', '饜懣'], }; | |||||||||||||||||||||||||||
| 68 | }, | ||||||||||||||||||||||||||||
| 69 | 1 | ▶ | ); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 70 | |||||||||||||||||||||||||||||
| 71 | |||||||||||||||||||||||||||||
| 72 | has 'yesstr' => ( | ||||||||||||||||||||||||||||
| 73 | is => 'ro', | ||||||||||||||||||||||||||||
| 74 | isa => RegexpRef, | ||||||||||||||||||||||||||||
| 75 | init_arg => undef, | ||||||||||||||||||||||||||||
| 76 | 0 | ▶ | default => sub { qr'^(?i:饜憳饜懅饜憰|饜憳|yes|y)$' } | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 77 | 1 | ); | |||||||||||||||||||||||||||
| 78 | |||||||||||||||||||||||||||||
| 79 | has 'nostr' => ( | ||||||||||||||||||||||||||||
| 80 | is => 'ro', | ||||||||||||||||||||||||||||
| 81 | isa => RegexpRef, | ||||||||||||||||||||||||||||
| 82 | init_arg => undef, | ||||||||||||||||||||||||||||
| 83 | 0 | ▶ | default => sub { qr'^(?i:饜懐饜懘|饜懐|no|n)$' } | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 84 | 1 | ); | |||||||||||||||||||||||||||
| 85 | |||||||||||||||||||||||||||||
| 86 | has 'calendar_months' => ( | ||||||||||||||||||||||||||||
| 87 | is => 'ro', | ||||||||||||||||||||||||||||
| 88 | isa => HashRef, | ||||||||||||||||||||||||||||
| 89 | init_arg => undef, | ||||||||||||||||||||||||||||
| 90 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 91 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 92 | 'format' => { | ||||||||||||||||||||||||||||
| 93 | abbreviated => { | ||||||||||||||||||||||||||||
| 94 | nonleap => [ | ||||||||||||||||||||||||||||
| 95 | '路饜憽饜懆', | ||||||||||||||||||||||||||||
| 96 | '路饜憮饜懅', | ||||||||||||||||||||||||||||
| 97 | '路饜懃饜懜', | ||||||||||||||||||||||||||||
| 98 | '路饜懕饜憪', | ||||||||||||||||||||||||||||
| 99 | '路饜懃饜懕', | ||||||||||||||||||||||||||||
| 100 | '路饜憽饜懙', | ||||||||||||||||||||||||||||
| 101 | '路饜憽饜懌', | ||||||||||||||||||||||||||||
| 102 | '路饜應饜憸', | ||||||||||||||||||||||||||||
| 103 | '路饜憰饜懅', | ||||||||||||||||||||||||||||
| 104 | '路饜懛饜憭', | ||||||||||||||||||||||||||||
| 105 | '路饜懐饜懘', | ||||||||||||||||||||||||||||
| 106 | '路饜憶饜懎' | ||||||||||||||||||||||||||||
| 107 | ], | ||||||||||||||||||||||||||||
| 108 | leap => [ | ||||||||||||||||||||||||||||
| 109 | |||||||||||||||||||||||||||||
| 110 | ], | ||||||||||||||||||||||||||||
| 111 | }, | ||||||||||||||||||||||||||||
| 112 | wide => { | ||||||||||||||||||||||||||||
| 113 | nonleap => [ | ||||||||||||||||||||||||||||
| 114 | '路饜憽饜懆饜憴饜憳饜懎饜憿饜懞饜懓', | ||||||||||||||||||||||||||||
| 115 | '路饜憮饜懅饜憵饜憳饜懙饜憿饜懞饜懓', | ||||||||||||||||||||||||||||
| 116 | '路饜懃饜懜饜憲', | ||||||||||||||||||||||||||||
| 117 | '路饜懕饜憪饜懏饜懎饜懁', | ||||||||||||||||||||||||||||
| 118 | '路饜懃饜懕', | ||||||||||||||||||||||||||||
| 119 | '路饜憽饜懙饜懐', | ||||||||||||||||||||||||||||
| 120 | '路饜憽饜懌饜懁饜懖', | ||||||||||||||||||||||||||||
| 121 | '路饜應饜憸饜懎饜憰饜憫', | ||||||||||||||||||||||||||||
| 122 | '路饜憰饜懅饜憪饜憫饜懅饜懃饜憵饜懜', | ||||||||||||||||||||||||||||
| 123 | '路饜懛饜憭饜憫饜懘饜憵饜懜', | ||||||||||||||||||||||||||||
| 124 | '路饜懐饜懘饜憹饜懅饜懃饜憵饜懜', | ||||||||||||||||||||||||||||
| 125 | '路饜憶饜懎饜憰饜懅饜懃饜憵饜懜' | ||||||||||||||||||||||||||||
| 126 | ], | ||||||||||||||||||||||||||||
| 127 | leap => [ | ||||||||||||||||||||||||||||
| 128 | |||||||||||||||||||||||||||||
| 129 | ], | ||||||||||||||||||||||||||||
| 130 | }, | ||||||||||||||||||||||||||||
| 131 | }, | ||||||||||||||||||||||||||||
| 132 | 'stand-alone' => { | ||||||||||||||||||||||||||||
| 133 | narrow => { | ||||||||||||||||||||||||||||
| 134 | nonleap => [ | ||||||||||||||||||||||||||||
| 135 | '饜憽', | ||||||||||||||||||||||||||||
| 136 | '饜憮', | ||||||||||||||||||||||||||||
| 137 | '饜懃', | ||||||||||||||||||||||||||||
| 138 | '饜懕', | ||||||||||||||||||||||||||||
| 139 | '饜懃', | ||||||||||||||||||||||||||||
| 140 | '饜憽', | ||||||||||||||||||||||||||||
| 141 | '饜憽', | ||||||||||||||||||||||||||||
| 142 | '饜應', | ||||||||||||||||||||||||||||
| 143 | '饜憰', | ||||||||||||||||||||||||||||
| 144 | '饜懛', | ||||||||||||||||||||||||||||
| 145 | '饜懐', | ||||||||||||||||||||||||||||
| 146 | '饜憶' | ||||||||||||||||||||||||||||
| 147 | ], | ||||||||||||||||||||||||||||
| 148 | leap => [ | ||||||||||||||||||||||||||||
| 149 | |||||||||||||||||||||||||||||
| 150 | ], | ||||||||||||||||||||||||||||
| 151 | }, | ||||||||||||||||||||||||||||
| 152 | }, | ||||||||||||||||||||||||||||
| 153 | }, | ||||||||||||||||||||||||||||
| 154 | } }, | ||||||||||||||||||||||||||||
| 155 | 1 | ); | |||||||||||||||||||||||||||
| 156 | |||||||||||||||||||||||||||||
| 157 | has 'calendar_days' => ( | ||||||||||||||||||||||||||||
| 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 | 'gregorian' => { | |||||||||||||||||||||||||||
| 163 | 'format' => { | ||||||||||||||||||||||||||||
| 164 | abbreviated => { | ||||||||||||||||||||||||||||
| 165 | mon => '路饜懃饜懎', | ||||||||||||||||||||||||||||
| 166 | tue => '路饜憫饜懙', | ||||||||||||||||||||||||||||
| 167 | wed => '路饜憿饜懅', | ||||||||||||||||||||||||||||
| 168 | thu => '路饜憯饜懟', | ||||||||||||||||||||||||||||
| 169 | fri => '路饜憮饜懏', | ||||||||||||||||||||||||||||
| 170 | sat => '路饜憰饜懆', | ||||||||||||||||||||||||||||
| 171 | sun => '路饜憰饜懎' | ||||||||||||||||||||||||||||
| 172 | }, | ||||||||||||||||||||||||||||
| 173 | wide => { | ||||||||||||||||||||||||||||
| 174 | mon => '路饜懃饜懎饜憴饜憶饜懕', | ||||||||||||||||||||||||||||
| 175 | tue => '路饜憫饜懙饜憻饜憶饜懕', | ||||||||||||||||||||||||||||
| 176 | wed => '路饜憿饜懅饜憴饜憻饜憶饜懕', | ||||||||||||||||||||||||||||
| 177 | thu => '路饜憯饜懟饜憻饜憶饜懕', | ||||||||||||||||||||||||||||
| 178 | fri => '路饜憮饜懏饜懖饜憶饜懕', | ||||||||||||||||||||||||||||
| 179 | sat => '路饜憰饜懆饜憶饜懟饜憶饜懕', | ||||||||||||||||||||||||||||
| 180 | sun => '路饜憰饜懎饜憴饜憶饜懕' | ||||||||||||||||||||||||||||
| 181 | }, | ||||||||||||||||||||||||||||
| 182 | }, | ||||||||||||||||||||||||||||
| 183 | 'stand-alone' => { | ||||||||||||||||||||||||||||
| 184 | narrow => { | ||||||||||||||||||||||||||||
| 185 | mon => '饜懃', | ||||||||||||||||||||||||||||
| 186 | tue => '饜憫', | ||||||||||||||||||||||||||||
| 187 | wed => '饜憿', | ||||||||||||||||||||||||||||
| 188 | thu => '饜憯', | ||||||||||||||||||||||||||||
| 189 | fri => '饜憮', | ||||||||||||||||||||||||||||
| 190 | sat => '饜憰', | ||||||||||||||||||||||||||||
| 191 | sun => '饜憰' | ||||||||||||||||||||||||||||
| 192 | }, | ||||||||||||||||||||||||||||
| 193 | }, | ||||||||||||||||||||||||||||
| 194 | }, | ||||||||||||||||||||||||||||
| 195 | } }, | ||||||||||||||||||||||||||||
| 196 | 1 | ); | |||||||||||||||||||||||||||
| 197 | |||||||||||||||||||||||||||||
| 198 | has 'calendar_quarters' => ( | ||||||||||||||||||||||||||||
| 199 | is => 'ro', | ||||||||||||||||||||||||||||
| 200 | isa => HashRef, | ||||||||||||||||||||||||||||
| 201 | init_arg => undef, | ||||||||||||||||||||||||||||
| 202 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 203 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 204 | 'format' => { | ||||||||||||||||||||||||||||
| 205 | abbreviated => {0 => '饜憭1', | ||||||||||||||||||||||||||||
| 206 | 1 => '饜憭2', | ||||||||||||||||||||||||||||
| 207 | 2 => '饜憭3', | ||||||||||||||||||||||||||||
| 208 | 3 => '饜憭4' | ||||||||||||||||||||||||||||
| 209 | }, | ||||||||||||||||||||||||||||
| 210 | wide => {0 => '1饜憰饜憫 饜憭饜憿饜懜饜憶饜懜', | ||||||||||||||||||||||||||||
| 211 | 1 => '2饜懐饜憶 饜憭饜憿饜懜饜憶饜懜', | ||||||||||||||||||||||||||||
| 212 | 2 => '3饜懟饜憶 饜憭饜憿饜懜饜憶饜懜', | ||||||||||||||||||||||||||||
| 213 | 3 => '4饜懝饜憯 饜憭饜憿饜懜饜憶饜懜' | ||||||||||||||||||||||||||||
| 214 | }, | ||||||||||||||||||||||||||||
| 215 | }, | ||||||||||||||||||||||||||||
| 216 | }, | ||||||||||||||||||||||||||||
| 217 | } }, | ||||||||||||||||||||||||||||
| 218 | 1 | ); | |||||||||||||||||||||||||||
| 219 | |||||||||||||||||||||||||||||
| 220 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 221 | is => 'ro', | ||||||||||||||||||||||||||||
| 222 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 223 | init_arg => undef, | ||||||||||||||||||||||||||||
| 224 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=24 SCAR=64.0
| |||||||||||||||||||||||||||||
| 225 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 226 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 227 | 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
| |||||||||||||||||||||||||||||
| 228 | SWITCH: | ||||||||||||||||||||||||||||
| 229 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 230 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 231 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 232 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 233 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 234 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1800
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
| |||||||||||||||||||||||||||||
| 235 | && $time < 1800; | ||||||||||||||||||||||||||||
| 236 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2100
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800
$time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
| |||||||||||||||||||||||||||||
| 237 | && $time < 2100; | ||||||||||||||||||||||||||||
| 238 | 0 | ▶ | return 'morning1' 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
| |||||||||||||||||||||||||||||
| 239 | && $time < 1200; | ||||||||||||||||||||||||||||
| 240 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 241 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 242 | } | ||||||||||||||||||||||||||||
| 243 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 244 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1800
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
| |||||||||||||||||||||||||||||
| 245 | && $time < 1800; | ||||||||||||||||||||||||||||
| 246 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2100
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800
$time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
| |||||||||||||||||||||||||||||
| 247 | && $time < 2100; | ||||||||||||||||||||||||||||
| 248 | 0 | ▶ | return 'morning1' 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
| |||||||||||||||||||||||||||||
| 249 | && $time < 1200; | ||||||||||||||||||||||||||||
| 250 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 251 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 252 | } | ||||||||||||||||||||||||||||
| 253 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 254 | } | ||||||||||||||||||||||||||||
| 255 | } | ||||||||||||||||||||||||||||
| 256 | 0 | } }, | |||||||||||||||||||||||||||
| 257 | 1 | ); | |||||||||||||||||||||||||||
| 258 | |||||||||||||||||||||||||||||
| 259 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 260 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 261 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 262 | 1 | }; | |||||||||||||||||||||||||||
| 263 | |||||||||||||||||||||||||||||
| 264 | has 'day_periods' => ( | ||||||||||||||||||||||||||||
| 265 | is => 'ro', | ||||||||||||||||||||||||||||
| 266 | isa => HashRef, | ||||||||||||||||||||||||||||
| 267 | init_arg => undef, | ||||||||||||||||||||||||||||
| 268 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 269 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 270 | 'format' => { | ||||||||||||||||||||||||||||
| 271 | 'abbreviated' => { | ||||||||||||||||||||||||||||
| 272 | 'am' => q{饜懆.饜懃.}, | ||||||||||||||||||||||||||||
| 273 | 'pm' => q{饜憪.饜懃.}, | ||||||||||||||||||||||||||||
| 274 | }, | ||||||||||||||||||||||||||||
| 275 | }, | ||||||||||||||||||||||||||||
| 276 | }, | ||||||||||||||||||||||||||||
| 277 | } }, | ||||||||||||||||||||||||||||
| 278 | 1 | ); | |||||||||||||||||||||||||||
| 279 | |||||||||||||||||||||||||||||
| 280 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 281 | is => 'ro', | ||||||||||||||||||||||||||||
| 282 | isa => HashRef, | ||||||||||||||||||||||||||||
| 283 | init_arg => undef, | ||||||||||||||||||||||||||||
| 284 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 285 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 286 | abbreviated => { | ||||||||||||||||||||||||||||
| 287 | '0' => '饜憵路饜憭', | ||||||||||||||||||||||||||||
| 288 | '1' => '饜懆饜憶' | ||||||||||||||||||||||||||||
| 289 | }, | ||||||||||||||||||||||||||||
| 290 | narrow => { | ||||||||||||||||||||||||||||
| 291 | '0' => '饜憵', | ||||||||||||||||||||||||||||
| 292 | '1' => '饜懆' | ||||||||||||||||||||||||||||
| 293 | }, | ||||||||||||||||||||||||||||
| 294 | wide => { | ||||||||||||||||||||||||||||
| 295 | '0' => '饜憵饜懓饜憮饜應饜懏 路饜憭饜懏饜懖饜憰饜憫', | ||||||||||||||||||||||||||||
| 296 | '1' => '饜懆饜憴饜懘 饜憶饜應饜懃饜懄饜憴饜懓' | ||||||||||||||||||||||||||||
| 297 | }, | ||||||||||||||||||||||||||||
| 298 | }, | ||||||||||||||||||||||||||||
| 299 | } }, | ||||||||||||||||||||||||||||
| 300 | 1 | ); | |||||||||||||||||||||||||||
| 301 | |||||||||||||||||||||||||||||
| 302 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 303 | is => 'ro', | ||||||||||||||||||||||||||||
| 304 | isa => HashRef, | ||||||||||||||||||||||||||||
| 305 | init_arg => undef, | ||||||||||||||||||||||||||||
| 306 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 307 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 308 | }, | ||||||||||||||||||||||||||||
| 309 | } }, | ||||||||||||||||||||||||||||
| 310 | 1 | ); | |||||||||||||||||||||||||||
| 311 | |||||||||||||||||||||||||||||
| 312 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 313 | is => 'ro', | ||||||||||||||||||||||||||||
| 314 | isa => HashRef, | ||||||||||||||||||||||||||||
| 315 | init_arg => undef, | ||||||||||||||||||||||||||||
| 316 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 317 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 318 | }, | ||||||||||||||||||||||||||||
| 319 | } }, | ||||||||||||||||||||||||||||
| 320 | 1 | ); | |||||||||||||||||||||||||||
| 321 | |||||||||||||||||||||||||||||
| 322 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 323 | is => 'ro', | ||||||||||||||||||||||||||||
| 324 | isa => HashRef, | ||||||||||||||||||||||||||||
| 325 | init_arg => undef, | ||||||||||||||||||||||||||||
| 326 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 327 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 328 | }, | ||||||||||||||||||||||||||||
| 329 | } }, | ||||||||||||||||||||||||||||
| 330 | 1 | ); | |||||||||||||||||||||||||||
| 331 | |||||||||||||||||||||||||||||
| 332 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 333 | is => 'ro', | ||||||||||||||||||||||||||||
| 334 | isa => HashRef, | ||||||||||||||||||||||||||||
| 335 | init_arg => undef, | ||||||||||||||||||||||||||||
| 336 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 337 | 0 | } }, | |||||||||||||||||||||||||||
| 338 | 1 | ); | |||||||||||||||||||||||||||
| 339 | |||||||||||||||||||||||||||||
| 340 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 341 | is => 'ro', | ||||||||||||||||||||||||||||
| 342 | isa => HashRef, | ||||||||||||||||||||||||||||
| 343 | init_arg => undef, | ||||||||||||||||||||||||||||
| 344 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 345 | 0 | } }, | |||||||||||||||||||||||||||
| 346 | 1 | ); | |||||||||||||||||||||||||||
| 347 | |||||||||||||||||||||||||||||
| 348 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 349 | is => 'ro', | ||||||||||||||||||||||||||||
| 350 | isa => HashRef, | ||||||||||||||||||||||||||||
| 351 | init_arg => undef, | ||||||||||||||||||||||||||||
| 352 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 353 | 0 | } }, | |||||||||||||||||||||||||||
| 354 | 1 | ); | |||||||||||||||||||||||||||
| 355 | |||||||||||||||||||||||||||||
| 356 | has 'time_zone_names' => ( | ||||||||||||||||||||||||||||
| 357 | is => 'ro', | ||||||||||||||||||||||||||||
| 358 | isa => HashRef, | ||||||||||||||||||||||||||||
| 359 | init_arg => undef, | ||||||||||||||||||||||||||||
| 360 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 361 | 0 | gmtFormat => q(路饜憸饜懃饜憫{0}), | |||||||||||||||||||||||||||
| 362 | gmtZeroFormat => q(路饜憸饜懃饜憫), | ||||||||||||||||||||||||||||
| 363 | regionFormat => q({0} 饜憫饜懖饜懃), | ||||||||||||||||||||||||||||
| 364 | } } | ||||||||||||||||||||||||||||
| 365 | 1 | ); | |||||||||||||||||||||||||||
| 366 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 367 | |||||||||||||||||||||||||||||
| 368 | 1 | 1; | |||||||||||||||||||||||||||
| 369 | |||||||||||||||||||||||||||||
| 370 | # vim: tabstop=4 | ||||||||||||||||||||||||||||