| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::En::Latn::Ch - Package for language English | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::En::Latn::Ch; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\en_CH.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::En::Latn::150'); | |||||||||||||||||||||||||||
| 27 | has 'number_symbols' => ( | ||||||||||||||||||||||||||||
| 28 | is => 'ro', | ||||||||||||||||||||||||||||
| 29 | isa => HashRef, | ||||||||||||||||||||||||||||
| 30 | init_arg => undef, | ||||||||||||||||||||||||||||
| 31 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 32 | 0 | 'latn' => { | |||||||||||||||||||||||||||
| 33 | 'group' => q(’), | ||||||||||||||||||||||||||||
| 34 | 'superscriptingExponent' => q(·), | ||||||||||||||||||||||||||||
| 35 | }, | ||||||||||||||||||||||||||||
| 36 | } } | ||||||||||||||||||||||||||||
| 37 | 1 | ); | |||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||
| 39 | has 'number_currency_formats' => ( | ||||||||||||||||||||||||||||
| 40 | is => 'ro', | ||||||||||||||||||||||||||||
| 41 | isa => HashRef, | ||||||||||||||||||||||||||||
| 42 | init_arg => undef, | ||||||||||||||||||||||||||||
| 43 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 44 | 0 | 'latn' => { | |||||||||||||||||||||||||||
| 45 | 'pattern' => { | ||||||||||||||||||||||||||||
| 46 | 'default' => { | ||||||||||||||||||||||||||||
| 47 | 'accounting' => { | ||||||||||||||||||||||||||||
| 48 | 'negative' => '¤-#,##0.00', | ||||||||||||||||||||||||||||
| 49 | 'positive' => '¤ #,##0.00', | ||||||||||||||||||||||||||||
| 50 | }, | ||||||||||||||||||||||||||||
| 51 | 'standard' => { | ||||||||||||||||||||||||||||
| 52 | 'negative' => '¤-#,##0.00', | ||||||||||||||||||||||||||||
| 53 | 'positive' => '¤ #,##0.00', | ||||||||||||||||||||||||||||
| 54 | }, | ||||||||||||||||||||||||||||
| 55 | }, | ||||||||||||||||||||||||||||
| 56 | }, | ||||||||||||||||||||||||||||
| 57 | }, | ||||||||||||||||||||||||||||
| 58 | } }, | ||||||||||||||||||||||||||||
| 59 | 1 | ); | |||||||||||||||||||||||||||
| 60 | |||||||||||||||||||||||||||||
| 61 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 62 | is => 'ro', | ||||||||||||||||||||||||||||
| 63 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 64 | init_arg => undef, | ||||||||||||||||||||||||||||
| 65 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=129 SCAR=97.3
| |||||||||||||||||||||||||||||
| 66 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 67 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 68 | 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
| |||||||||||||||||||||||||||||
| 69 | SWITCH: | ||||||||||||||||||||||||||||
| 70 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 71 | 0 | ▶ | if ($_ eq 'chinese') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 72 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 73 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 74 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 75 | 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
| |||||||||||||||||||||||||||||
| 76 | && $time < 1800; | ||||||||||||||||||||||||||||
| 77 | 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
| |||||||||||||||||||||||||||||
| 78 | && $time < 2100; | ||||||||||||||||||||||||||||
| 79 | 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
| |||||||||||||||||||||||||||||
| 80 | && $time < 1200; | ||||||||||||||||||||||||||||
| 81 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 82 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 83 | } | ||||||||||||||||||||||||||||
| 84 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 85 | 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
| |||||||||||||||||||||||||||||
| 86 | && $time < 1800; | ||||||||||||||||||||||||||||
| 87 | 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
| |||||||||||||||||||||||||||||
| 88 | && $time < 2100; | ||||||||||||||||||||||||||||
| 89 | 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
| |||||||||||||||||||||||||||||
| 90 | && $time < 1200; | ||||||||||||||||||||||||||||
| 91 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 92 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 93 | } | ||||||||||||||||||||||||||||
| 94 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 95 | } | ||||||||||||||||||||||||||||
| 96 | 0 | ▶ | if ($_ eq 'dangi') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 97 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 98 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 99 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 100 | 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
| |||||||||||||||||||||||||||||
| 101 | && $time < 1800; | ||||||||||||||||||||||||||||
| 102 | 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
| |||||||||||||||||||||||||||||
| 103 | && $time < 2100; | ||||||||||||||||||||||||||||
| 104 | 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
| |||||||||||||||||||||||||||||
| 105 | && $time < 1200; | ||||||||||||||||||||||||||||
| 106 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 107 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 108 | } | ||||||||||||||||||||||||||||
| 109 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 110 | 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
| |||||||||||||||||||||||||||||
| 111 | && $time < 1800; | ||||||||||||||||||||||||||||
| 112 | 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
| |||||||||||||||||||||||||||||
| 113 | && $time < 2100; | ||||||||||||||||||||||||||||
| 114 | 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
| |||||||||||||||||||||||||||||
| 115 | && $time < 1200; | ||||||||||||||||||||||||||||
| 116 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 117 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 118 | } | ||||||||||||||||||||||||||||
| 119 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 120 | } | ||||||||||||||||||||||||||||
| 121 | 0 | ▶ | if ($_ eq 'generic') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 122 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 123 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 124 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 125 | 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
| |||||||||||||||||||||||||||||
| 126 | && $time < 1800; | ||||||||||||||||||||||||||||
| 127 | 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
| |||||||||||||||||||||||||||||
| 128 | && $time < 2100; | ||||||||||||||||||||||||||||
| 129 | 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
| |||||||||||||||||||||||||||||
| 130 | && $time < 1200; | ||||||||||||||||||||||||||||
| 131 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 132 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 133 | } | ||||||||||||||||||||||||||||
| 134 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 135 | 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
| |||||||||||||||||||||||||||||
| 136 | && $time < 1800; | ||||||||||||||||||||||||||||
| 137 | 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
| |||||||||||||||||||||||||||||
| 138 | && $time < 2100; | ||||||||||||||||||||||||||||
| 139 | 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
| |||||||||||||||||||||||||||||
| 140 | && $time < 1200; | ||||||||||||||||||||||||||||
| 141 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 142 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 143 | } | ||||||||||||||||||||||||||||
| 144 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 145 | } | ||||||||||||||||||||||||||||
| 146 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 147 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 148 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 149 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 150 | 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
| |||||||||||||||||||||||||||||
| 151 | && $time < 1800; | ||||||||||||||||||||||||||||
| 152 | 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
| |||||||||||||||||||||||||||||
| 153 | && $time < 2100; | ||||||||||||||||||||||||||||
| 154 | 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
| |||||||||||||||||||||||||||||
| 155 | && $time < 1200; | ||||||||||||||||||||||||||||
| 156 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 157 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 158 | } | ||||||||||||||||||||||||||||
| 159 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 160 | 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
| |||||||||||||||||||||||||||||
| 161 | && $time < 1800; | ||||||||||||||||||||||||||||
| 162 | 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
| |||||||||||||||||||||||||||||
| 163 | && $time < 2100; | ||||||||||||||||||||||||||||
| 164 | 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
| |||||||||||||||||||||||||||||
| 165 | && $time < 1200; | ||||||||||||||||||||||||||||
| 166 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 167 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 168 | } | ||||||||||||||||||||||||||||
| 169 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 170 | } | ||||||||||||||||||||||||||||
| 171 | 0 | ▶ | if ($_ eq 'islamic') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 172 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 173 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 174 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 175 | 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
| |||||||||||||||||||||||||||||
| 176 | && $time < 1800; | ||||||||||||||||||||||||||||
| 177 | 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
| |||||||||||||||||||||||||||||
| 178 | && $time < 2100; | ||||||||||||||||||||||||||||
| 179 | 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
| |||||||||||||||||||||||||||||
| 180 | && $time < 1200; | ||||||||||||||||||||||||||||
| 181 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 182 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 183 | } | ||||||||||||||||||||||||||||
| 184 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 185 | 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
| |||||||||||||||||||||||||||||
| 186 | && $time < 1800; | ||||||||||||||||||||||||||||
| 187 | 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
| |||||||||||||||||||||||||||||
| 188 | && $time < 2100; | ||||||||||||||||||||||||||||
| 189 | 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
| |||||||||||||||||||||||||||||
| 190 | && $time < 1200; | ||||||||||||||||||||||||||||
| 191 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 192 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 193 | } | ||||||||||||||||||||||||||||
| 194 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 195 | } | ||||||||||||||||||||||||||||
| 196 | 0 | ▶ | if ($_ eq 'japanese') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 197 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 198 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 199 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 200 | 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
| |||||||||||||||||||||||||||||
| 201 | && $time < 1800; | ||||||||||||||||||||||||||||
| 202 | 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
| |||||||||||||||||||||||||||||
| 203 | && $time < 2100; | ||||||||||||||||||||||||||||
| 204 | 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
| |||||||||||||||||||||||||||||
| 205 | && $time < 1200; | ||||||||||||||||||||||||||||
| 206 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 207 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 208 | } | ||||||||||||||||||||||||||||
| 209 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 210 | 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
| |||||||||||||||||||||||||||||
| 211 | && $time < 1800; | ||||||||||||||||||||||||||||
| 212 | 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
| |||||||||||||||||||||||||||||
| 213 | && $time < 2100; | ||||||||||||||||||||||||||||
| 214 | 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
| |||||||||||||||||||||||||||||
| 215 | && $time < 1200; | ||||||||||||||||||||||||||||
| 216 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 217 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 218 | } | ||||||||||||||||||||||||||||
| 219 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 220 | } | ||||||||||||||||||||||||||||
| 221 | } | ||||||||||||||||||||||||||||
| 222 | 0 | } }, | |||||||||||||||||||||||||||
| 223 | 1 | ); | |||||||||||||||||||||||||||
| 224 | |||||||||||||||||||||||||||||
| 225 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 226 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 227 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 228 | 1 | }; | |||||||||||||||||||||||||||
| 229 | |||||||||||||||||||||||||||||
| 230 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 231 | is => 'ro', | ||||||||||||||||||||||||||||
| 232 | isa => HashRef, | ||||||||||||||||||||||||||||
| 233 | init_arg => undef, | ||||||||||||||||||||||||||||
| 234 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 235 | 0 | 'chinese' => { | |||||||||||||||||||||||||||
| 236 | }, | ||||||||||||||||||||||||||||
| 237 | 'dangi' => { | ||||||||||||||||||||||||||||
| 238 | }, | ||||||||||||||||||||||||||||
| 239 | 'generic' => { | ||||||||||||||||||||||||||||
| 240 | }, | ||||||||||||||||||||||||||||
| 241 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 242 | }, | ||||||||||||||||||||||||||||
| 243 | 'islamic' => { | ||||||||||||||||||||||||||||
| 244 | }, | ||||||||||||||||||||||||||||
| 245 | 'japanese' => { | ||||||||||||||||||||||||||||
| 246 | }, | ||||||||||||||||||||||||||||
| 247 | } }, | ||||||||||||||||||||||||||||
| 248 | 1 | ); | |||||||||||||||||||||||||||
| 249 | |||||||||||||||||||||||||||||
| 250 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 251 | is => 'ro', | ||||||||||||||||||||||||||||
| 252 | isa => HashRef, | ||||||||||||||||||||||||||||
| 253 | init_arg => undef, | ||||||||||||||||||||||||||||
| 254 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 255 | 0 | 'chinese' => { | |||||||||||||||||||||||||||
| 256 | 'short' => q{dd.MM.r}, | ||||||||||||||||||||||||||||
| 257 | }, | ||||||||||||||||||||||||||||
| 258 | 'dangi' => { | ||||||||||||||||||||||||||||
| 259 | }, | ||||||||||||||||||||||||||||
| 260 | 'generic' => { | ||||||||||||||||||||||||||||
| 261 | 'short' => q{dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 262 | }, | ||||||||||||||||||||||||||||
| 263 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 264 | 'short' => q{dd.MM.y}, | ||||||||||||||||||||||||||||
| 265 | }, | ||||||||||||||||||||||||||||
| 266 | 'islamic' => { | ||||||||||||||||||||||||||||
| 267 | 'short' => q{dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 268 | }, | ||||||||||||||||||||||||||||
| 269 | 'japanese' => { | ||||||||||||||||||||||||||||
| 270 | 'short' => q{M.d.y GGGGG}, | ||||||||||||||||||||||||||||
| 271 | }, | ||||||||||||||||||||||||||||
| 272 | } }, | ||||||||||||||||||||||||||||
| 273 | 1 | ); | |||||||||||||||||||||||||||
| 274 | |||||||||||||||||||||||||||||
| 275 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 276 | is => 'ro', | ||||||||||||||||||||||||||||
| 277 | isa => HashRef, | ||||||||||||||||||||||||||||
| 278 | init_arg => undef, | ||||||||||||||||||||||||||||
| 279 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 280 | 0 | 'chinese' => { | |||||||||||||||||||||||||||
| 281 | }, | ||||||||||||||||||||||||||||
| 282 | 'dangi' => { | ||||||||||||||||||||||||||||
| 283 | }, | ||||||||||||||||||||||||||||
| 284 | 'generic' => { | ||||||||||||||||||||||||||||
| 285 | }, | ||||||||||||||||||||||||||||
| 286 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 287 | }, | ||||||||||||||||||||||||||||
| 288 | 'islamic' => { | ||||||||||||||||||||||||||||
| 289 | }, | ||||||||||||||||||||||||||||
| 290 | 'japanese' => { | ||||||||||||||||||||||||||||
| 291 | }, | ||||||||||||||||||||||||||||
| 292 | } }, | ||||||||||||||||||||||||||||
| 293 | 1 | ); | |||||||||||||||||||||||||||
| 294 | |||||||||||||||||||||||||||||
| 295 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 296 | is => 'ro', | ||||||||||||||||||||||||||||
| 297 | isa => HashRef, | ||||||||||||||||||||||||||||
| 298 | init_arg => undef, | ||||||||||||||||||||||||||||
| 299 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 300 | 0 | 'chinese' => { | |||||||||||||||||||||||||||
| 301 | }, | ||||||||||||||||||||||||||||
| 302 | 'dangi' => { | ||||||||||||||||||||||||||||
| 303 | }, | ||||||||||||||||||||||||||||
| 304 | 'generic' => { | ||||||||||||||||||||||||||||
| 305 | }, | ||||||||||||||||||||||||||||
| 306 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 307 | }, | ||||||||||||||||||||||||||||
| 308 | 'islamic' => { | ||||||||||||||||||||||||||||
| 309 | }, | ||||||||||||||||||||||||||||
| 310 | 'japanese' => { | ||||||||||||||||||||||||||||
| 311 | }, | ||||||||||||||||||||||||||||
| 312 | } }, | ||||||||||||||||||||||||||||
| 313 | 1 | ); | |||||||||||||||||||||||||||
| 314 | |||||||||||||||||||||||||||||
| 315 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 316 | is => 'ro', | ||||||||||||||||||||||||||||
| 317 | isa => HashRef, | ||||||||||||||||||||||||||||
| 318 | init_arg => undef, | ||||||||||||||||||||||||||||
| 319 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 320 | 0 | 'chinese' => { | |||||||||||||||||||||||||||
| 321 | MEd => q{E, dd.MM}, | ||||||||||||||||||||||||||||
| 322 | UM => q{M.U}, | ||||||||||||||||||||||||||||
| 323 | UMd => q{dd.MM.U}, | ||||||||||||||||||||||||||||
| 324 | yyyyM => q{MM.r}, | ||||||||||||||||||||||||||||
| 325 | yyyyMEd => q{E, dd.MM.r}, | ||||||||||||||||||||||||||||
| 326 | yyyyMd => q{dd.MM.r}, | ||||||||||||||||||||||||||||
| 327 | }, | ||||||||||||||||||||||||||||
| 328 | 'dangi' => { | ||||||||||||||||||||||||||||
| 329 | Md => q{dd.MM}, | ||||||||||||||||||||||||||||
| 330 | }, | ||||||||||||||||||||||||||||
| 331 | 'generic' => { | ||||||||||||||||||||||||||||
| 332 | GyMd => q{dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 333 | MEd => q{E, dd.MM}, | ||||||||||||||||||||||||||||
| 334 | Md => q{dd.MM}, | ||||||||||||||||||||||||||||
| 335 | yyyyM => q{MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 336 | yyyyMEd => q{E, dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 337 | yyyyMd => q{dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 338 | }, | ||||||||||||||||||||||||||||
| 339 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 340 | GyMd => q{d.M.y G}, | ||||||||||||||||||||||||||||
| 341 | MEd => q{E, dd.MM}, | ||||||||||||||||||||||||||||
| 342 | MMdd => q{dd.MM}, | ||||||||||||||||||||||||||||
| 343 | Md => q{dd.MM}, | ||||||||||||||||||||||||||||
| 344 | yM => q{MM.y}, | ||||||||||||||||||||||||||||
| 345 | yMEd => q{E, dd.MM.y}, | ||||||||||||||||||||||||||||
| 346 | yMd => q{dd.MM.y}, | ||||||||||||||||||||||||||||
| 347 | }, | ||||||||||||||||||||||||||||
| 348 | 'islamic' => { | ||||||||||||||||||||||||||||
| 349 | GyMd => q{dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 350 | MEd => q{E dd.MM}, | ||||||||||||||||||||||||||||
| 351 | Md => q{dd.MM}, | ||||||||||||||||||||||||||||
| 352 | yyyyM => q{MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 353 | yyyyMEd => q{E, dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 354 | yyyyMd => q{dd.MM.y GGGGG}, | ||||||||||||||||||||||||||||
| 355 | }, | ||||||||||||||||||||||||||||
| 356 | } }, | ||||||||||||||||||||||||||||
| 357 | 1 | ); | |||||||||||||||||||||||||||
| 358 | |||||||||||||||||||||||||||||
| 359 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 360 | is => 'ro', | ||||||||||||||||||||||||||||
| 361 | isa => HashRef, | ||||||||||||||||||||||||||||
| 362 | init_arg => undef, | ||||||||||||||||||||||||||||
| 363 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 364 | 0 | } }, | |||||||||||||||||||||||||||
| 365 | 1 | ); | |||||||||||||||||||||||||||
| 366 | |||||||||||||||||||||||||||||
| 367 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 368 | is => 'ro', | ||||||||||||||||||||||||||||
| 369 | isa => HashRef, | ||||||||||||||||||||||||||||
| 370 | init_arg => undef, | ||||||||||||||||||||||||||||
| 371 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 372 | 0 | } }, | |||||||||||||||||||||||||||
| 373 | 1 | ); | |||||||||||||||||||||||||||
| 374 | |||||||||||||||||||||||||||||
| 375 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 376 | |||||||||||||||||||||||||||||
| 377 | 1 | 1; | |||||||||||||||||||||||||||
| 378 | |||||||||||||||||||||||||||||
| 379 | # vim: tabstop=4 | ||||||||||||||||||||||||||||