| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::Ms::Latn::Id - Package for language Malay | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::Ms::Latn::Id; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\ms_ID.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::Ms::Latn'); | |||||||||||||||||||||||||||
| 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 | 'decimal' => q(,), | ||||||||||||||||||||||||||||
| 34 | 'group' => q(.), | ||||||||||||||||||||||||||||
| 35 | 'timeSeparator' => q(.), | ||||||||||||||||||||||||||||
| 36 | }, | ||||||||||||||||||||||||||||
| 37 | } } | ||||||||||||||||||||||||||||
| 38 | 1 | ); | |||||||||||||||||||||||||||
| 39 | |||||||||||||||||||||||||||||
| 40 | has 'number_currency_formats' => ( | ||||||||||||||||||||||||||||
| 41 | is => 'ro', | ||||||||||||||||||||||||||||
| 42 | isa => HashRef, | ||||||||||||||||||||||||||||
| 43 | init_arg => undef, | ||||||||||||||||||||||||||||
| 44 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 45 | 0 | 'latn' => { | |||||||||||||||||||||||||||
| 46 | 'pattern' => { | ||||||||||||||||||||||||||||
| 47 | 'default' => { | ||||||||||||||||||||||||||||
| 48 | 'accounting' => { | ||||||||||||||||||||||||||||
| 49 | 'positive' => '¤#,##0.00', | ||||||||||||||||||||||||||||
| 50 | }, | ||||||||||||||||||||||||||||
| 51 | }, | ||||||||||||||||||||||||||||
| 52 | }, | ||||||||||||||||||||||||||||
| 53 | }, | ||||||||||||||||||||||||||||
| 54 | } }, | ||||||||||||||||||||||||||||
| 55 | 1 | ); | |||||||||||||||||||||||||||
| 56 | |||||||||||||||||||||||||||||
| 57 | has 'currencies' => ( | ||||||||||||||||||||||||||||
| 58 | is => 'ro', | ||||||||||||||||||||||||||||
| 59 | isa => HashRef, | ||||||||||||||||||||||||||||
| 60 | init_arg => undef, | ||||||||||||||||||||||||||||
| 61 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 62 | 0 | 'IDR' => { | |||||||||||||||||||||||||||
| 63 | symbol => 'Rp', | ||||||||||||||||||||||||||||
| 64 | }, | ||||||||||||||||||||||||||||
| 65 | } }, | ||||||||||||||||||||||||||||
| 66 | 1 | ); | |||||||||||||||||||||||||||
| 67 | |||||||||||||||||||||||||||||
| 68 | |||||||||||||||||||||||||||||
| 69 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 70 | is => 'ro', | ||||||||||||||||||||||||||||
| 71 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 72 | init_arg => undef, | ||||||||||||||||||||||||||||
| 73 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=95 SCAR=91.2
| |||||||||||||||||||||||||||||
| 74 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 75 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 76 | 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
| |||||||||||||||||||||||||||||
| 77 | SWITCH: | ||||||||||||||||||||||||||||
| 78 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 79 | 0 | ▶ | if ($_ eq 'buddhist') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 80 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 81 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 82 | && $time < 1400; | ||||||||||||||||||||||||||||
| 83 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 84 | && $time < 1900; | ||||||||||||||||||||||||||||
| 85 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 86 | && $time < 100; | ||||||||||||||||||||||||||||
| 87 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 88 | && $time < 1200; | ||||||||||||||||||||||||||||
| 89 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 90 | && $time < 2400; | ||||||||||||||||||||||||||||
| 91 | } | ||||||||||||||||||||||||||||
| 92 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 93 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 94 | && $time < 1400; | ||||||||||||||||||||||||||||
| 95 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 96 | && $time < 1900; | ||||||||||||||||||||||||||||
| 97 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 98 | && $time < 100; | ||||||||||||||||||||||||||||
| 99 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 100 | && $time < 1200; | ||||||||||||||||||||||||||||
| 101 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 102 | && $time < 2400; | ||||||||||||||||||||||||||||
| 103 | } | ||||||||||||||||||||||||||||
| 104 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 105 | } | ||||||||||||||||||||||||||||
| 106 | 0 | ▶ | if ($_ eq 'generic') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 107 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 108 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 109 | && $time < 1400; | ||||||||||||||||||||||||||||
| 110 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 111 | && $time < 1900; | ||||||||||||||||||||||||||||
| 112 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 113 | && $time < 100; | ||||||||||||||||||||||||||||
| 114 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 115 | && $time < 1200; | ||||||||||||||||||||||||||||
| 116 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 117 | && $time < 2400; | ||||||||||||||||||||||||||||
| 118 | } | ||||||||||||||||||||||||||||
| 119 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 120 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 121 | && $time < 1400; | ||||||||||||||||||||||||||||
| 122 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 123 | && $time < 1900; | ||||||||||||||||||||||||||||
| 124 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 125 | && $time < 100; | ||||||||||||||||||||||||||||
| 126 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 127 | && $time < 1200; | ||||||||||||||||||||||||||||
| 128 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 129 | && $time < 2400; | ||||||||||||||||||||||||||||
| 130 | } | ||||||||||||||||||||||||||||
| 131 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 132 | } | ||||||||||||||||||||||||||||
| 133 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 134 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 135 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 136 | && $time < 1400; | ||||||||||||||||||||||||||||
| 137 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 138 | && $time < 1900; | ||||||||||||||||||||||||||||
| 139 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 140 | && $time < 100; | ||||||||||||||||||||||||||||
| 141 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 142 | && $time < 1200; | ||||||||||||||||||||||||||||
| 143 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 144 | && $time < 2400; | ||||||||||||||||||||||||||||
| 145 | } | ||||||||||||||||||||||||||||
| 146 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 147 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 148 | && $time < 1400; | ||||||||||||||||||||||||||||
| 149 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 150 | && $time < 1900; | ||||||||||||||||||||||||||||
| 151 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 152 | && $time < 100; | ||||||||||||||||||||||||||||
| 153 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 154 | && $time < 1200; | ||||||||||||||||||||||||||||
| 155 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 156 | && $time < 2400; | ||||||||||||||||||||||||||||
| 157 | } | ||||||||||||||||||||||||||||
| 158 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 159 | } | ||||||||||||||||||||||||||||
| 160 | 0 | ▶ | if ($_ eq 'islamic') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 161 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 162 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 163 | && $time < 1400; | ||||||||||||||||||||||||||||
| 164 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 165 | && $time < 1900; | ||||||||||||||||||||||||||||
| 166 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 167 | && $time < 100; | ||||||||||||||||||||||||||||
| 168 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 169 | && $time < 1200; | ||||||||||||||||||||||||||||
| 170 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 171 | && $time < 2400; | ||||||||||||||||||||||||||||
| 172 | } | ||||||||||||||||||||||||||||
| 173 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 174 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1400
MC/DC0%0/2
$time >= 1200 and $time < 1400
$time >= 1200
$time < 1400
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1400
| |||||||||||||||||||||||||||||
| 175 | && $time < 1400; | ||||||||||||||||||||||||||||
| 176 | 0 | ▶ | return 'evening1' if $time >= 1400 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1400 and $time < 1900
MC/DC0%0/2
$time >= 1400 and $time < 1900
$time >= 1400
$time < 1900
Truth table0%0/3
A and B
A= $time >= 1400B= $time < 1900
| |||||||||||||||||||||||||||||
| 177 | && $time < 1900; | ||||||||||||||||||||||||||||
| 178 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 100
MC/DC0%0/2
$time >= 0 and $time < 100
$time >= 0
$time < 100
Truth table0%0/3
A and B
A= $time >= 0B= $time < 100
| |||||||||||||||||||||||||||||
| 179 | && $time < 100; | ||||||||||||||||||||||||||||
| 180 | 0 | ▶ | return 'morning2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 1200
MC/DC0%0/2
$time >= 100 and $time < 1200
$time >= 100
$time < 1200
Truth table0%0/3
A and B
A= $time >= 100B= $time < 1200
| |||||||||||||||||||||||||||||
| 181 | && $time < 1200; | ||||||||||||||||||||||||||||
| 182 | 0 | ▶ | return 'night1' if $time >= 1900 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1900 and $time < 2400
MC/DC0%0/2
$time >= 1900 and $time < 2400
$time >= 1900
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1900B= $time < 2400
| |||||||||||||||||||||||||||||
| 183 | && $time < 2400; | ||||||||||||||||||||||||||||
| 184 | } | ||||||||||||||||||||||||||||
| 185 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 186 | } | ||||||||||||||||||||||||||||
| 187 | } | ||||||||||||||||||||||||||||
| 188 | 0 | } }, | |||||||||||||||||||||||||||
| 189 | 1 | ); | |||||||||||||||||||||||||||
| 190 | |||||||||||||||||||||||||||||
| 191 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 192 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 193 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 194 | 1 | }; | |||||||||||||||||||||||||||
| 195 | |||||||||||||||||||||||||||||
| 196 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 197 | is => 'ro', | ||||||||||||||||||||||||||||
| 198 | isa => HashRef, | ||||||||||||||||||||||||||||
| 199 | init_arg => undef, | ||||||||||||||||||||||||||||
| 200 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 201 | 0 | 'buddhist' => { | |||||||||||||||||||||||||||
| 202 | }, | ||||||||||||||||||||||||||||
| 203 | 'generic' => { | ||||||||||||||||||||||||||||
| 204 | }, | ||||||||||||||||||||||||||||
| 205 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 206 | }, | ||||||||||||||||||||||||||||
| 207 | 'islamic' => { | ||||||||||||||||||||||||||||
| 208 | }, | ||||||||||||||||||||||||||||
| 209 | } }, | ||||||||||||||||||||||||||||
| 210 | 1 | ); | |||||||||||||||||||||||||||
| 211 | |||||||||||||||||||||||||||||
| 212 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 213 | is => 'ro', | ||||||||||||||||||||||||||||
| 214 | isa => HashRef, | ||||||||||||||||||||||||||||
| 215 | init_arg => undef, | ||||||||||||||||||||||||||||
| 216 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 217 | 0 | 'buddhist' => { | |||||||||||||||||||||||||||
| 218 | 'full' => q{EEEE, dd MMMM y G}, | ||||||||||||||||||||||||||||
| 219 | 'medium' => q{d MMM y G}, | ||||||||||||||||||||||||||||
| 220 | 'short' => q{dd/MM/yy GGGGG}, | ||||||||||||||||||||||||||||
| 221 | }, | ||||||||||||||||||||||||||||
| 222 | 'generic' => { | ||||||||||||||||||||||||||||
| 223 | 'full' => q{EEEE, dd MMMM y G}, | ||||||||||||||||||||||||||||
| 224 | 'medium' => q{d MMM y G}, | ||||||||||||||||||||||||||||
| 225 | 'short' => q{dd/MM/yy GGGGG}, | ||||||||||||||||||||||||||||
| 226 | }, | ||||||||||||||||||||||||||||
| 227 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 228 | 'full' => q{EEEE, dd MMMM y}, | ||||||||||||||||||||||||||||
| 229 | 'short' => q{dd/MM/yy}, | ||||||||||||||||||||||||||||
| 230 | }, | ||||||||||||||||||||||||||||
| 231 | 'islamic' => { | ||||||||||||||||||||||||||||
| 232 | 'full' => q{EEEE, dd MMMM y G}, | ||||||||||||||||||||||||||||
| 233 | 'medium' => q{d MMM y G}, | ||||||||||||||||||||||||||||
| 234 | 'short' => q{dd/MM/yy GGGGG}, | ||||||||||||||||||||||||||||
| 235 | }, | ||||||||||||||||||||||||||||
| 236 | } }, | ||||||||||||||||||||||||||||
| 237 | 1 | ); | |||||||||||||||||||||||||||
| 238 | |||||||||||||||||||||||||||||
| 239 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 240 | is => 'ro', | ||||||||||||||||||||||||||||
| 241 | isa => HashRef, | ||||||||||||||||||||||||||||
| 242 | init_arg => undef, | ||||||||||||||||||||||||||||
| 243 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 244 | 0 | 'buddhist' => { | |||||||||||||||||||||||||||
| 245 | }, | ||||||||||||||||||||||||||||
| 246 | 'generic' => { | ||||||||||||||||||||||||||||
| 247 | }, | ||||||||||||||||||||||||||||
| 248 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 249 | 'full' => q{HH.mm.ss zzzz}, | ||||||||||||||||||||||||||||
| 250 | 'long' => q{HH.mm.ss z}, | ||||||||||||||||||||||||||||
| 251 | 'medium' => q{HH.mm.ss}, | ||||||||||||||||||||||||||||
| 252 | 'short' => q{HH.mm}, | ||||||||||||||||||||||||||||
| 253 | }, | ||||||||||||||||||||||||||||
| 254 | 'islamic' => { | ||||||||||||||||||||||||||||
| 255 | }, | ||||||||||||||||||||||||||||
| 256 | } }, | ||||||||||||||||||||||||||||
| 257 | 1 | ); | |||||||||||||||||||||||||||
| 258 | |||||||||||||||||||||||||||||
| 259 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 260 | is => 'ro', | ||||||||||||||||||||||||||||
| 261 | isa => HashRef, | ||||||||||||||||||||||||||||
| 262 | init_arg => undef, | ||||||||||||||||||||||||||||
| 263 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 264 | 0 | 'buddhist' => { | |||||||||||||||||||||||||||
| 265 | }, | ||||||||||||||||||||||||||||
| 266 | 'generic' => { | ||||||||||||||||||||||||||||
| 267 | }, | ||||||||||||||||||||||||||||
| 268 | 'gregorian' => { | ||||||||||||||||||||||||||||
| 269 | }, | ||||||||||||||||||||||||||||
| 270 | 'islamic' => { | ||||||||||||||||||||||||||||
| 271 | }, | ||||||||||||||||||||||||||||
| 272 | } }, | ||||||||||||||||||||||||||||
| 273 | 1 | ); | |||||||||||||||||||||||||||
| 274 | |||||||||||||||||||||||||||||
| 275 | has 'datetime_formats_available_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 | 'gregorian' => { | |||||||||||||||||||||||||||
| 281 | Bhm => q{h.mm B}, | ||||||||||||||||||||||||||||
| 282 | Bhms => q{h.mm.ss B}, | ||||||||||||||||||||||||||||
| 283 | EBhm => q{E h.mm B}, | ||||||||||||||||||||||||||||
| 284 | EBhms => q{E h.mm.ss B}, | ||||||||||||||||||||||||||||
| 285 | EHm => q{E HH.mm}, | ||||||||||||||||||||||||||||
| 286 | EHms => q{E HH.mm.ss}, | ||||||||||||||||||||||||||||
| 287 | Ehm => q{E h.mm a}, | ||||||||||||||||||||||||||||
| 288 | Ehms => q{E h.mm.ss a}, | ||||||||||||||||||||||||||||
| 289 | Hm => q{HH.mm}, | ||||||||||||||||||||||||||||
| 290 | Hms => q{HH.mm.ss}, | ||||||||||||||||||||||||||||
| 291 | Hmsv => q{HH.mm.ss v}, | ||||||||||||||||||||||||||||
| 292 | Hmv => q{HH.mm v}, | ||||||||||||||||||||||||||||
| 293 | hm => q{h.mm a}, | ||||||||||||||||||||||||||||
| 294 | hms => q{h.mm.ss a}, | ||||||||||||||||||||||||||||
| 295 | hmsv => q{h.mm.ss. a v}, | ||||||||||||||||||||||||||||
| 296 | hmv => q{h.mm a v}, | ||||||||||||||||||||||||||||
| 297 | }, | ||||||||||||||||||||||||||||
| 298 | } }, | ||||||||||||||||||||||||||||
| 299 | 1 | ); | |||||||||||||||||||||||||||
| 300 | |||||||||||||||||||||||||||||
| 301 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 302 | is => 'ro', | ||||||||||||||||||||||||||||
| 303 | isa => HashRef, | ||||||||||||||||||||||||||||
| 304 | init_arg => undef, | ||||||||||||||||||||||||||||
| 305 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 306 | 0 | } }, | |||||||||||||||||||||||||||
| 307 | 1 | ); | |||||||||||||||||||||||||||
| 308 | |||||||||||||||||||||||||||||
| 309 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 310 | is => 'ro', | ||||||||||||||||||||||||||||
| 311 | isa => HashRef, | ||||||||||||||||||||||||||||
| 312 | init_arg => undef, | ||||||||||||||||||||||||||||
| 313 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 314 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 315 | Bhm => { | ||||||||||||||||||||||||||||
| 316 | B => q{h.mm B – h.mm B}, | ||||||||||||||||||||||||||||
| 317 | h => q{h.mm – h.mm B}, | ||||||||||||||||||||||||||||
| 318 | m => q{h.mm – h.mm B}, | ||||||||||||||||||||||||||||
| 319 | }, | ||||||||||||||||||||||||||||
| 320 | Hm => { | ||||||||||||||||||||||||||||
| 321 | H => q{HH.mm–HH.mm}, | ||||||||||||||||||||||||||||
| 322 | m => q{HH.mm–HH.mm}, | ||||||||||||||||||||||||||||
| 323 | }, | ||||||||||||||||||||||||||||
| 324 | Hmv => { | ||||||||||||||||||||||||||||
| 325 | H => q{HH.mm–HH.mm v}, | ||||||||||||||||||||||||||||
| 326 | m => q{HH.mm–HH.mm v}, | ||||||||||||||||||||||||||||
| 327 | }, | ||||||||||||||||||||||||||||
| 328 | hm => { | ||||||||||||||||||||||||||||
| 329 | a => q{h.mm a – h.mm a}, | ||||||||||||||||||||||||||||
| 330 | h => q{h.mm–h.mm a}, | ||||||||||||||||||||||||||||
| 331 | m => q{h.mm–h.mm a}, | ||||||||||||||||||||||||||||
| 332 | }, | ||||||||||||||||||||||||||||
| 333 | hmv => { | ||||||||||||||||||||||||||||
| 334 | a => q{h.mm a – h.mm a v}, | ||||||||||||||||||||||||||||
| 335 | h => q{h.mm–h.mm a v}, | ||||||||||||||||||||||||||||
| 336 | m => q{h.mm–h.mm a v}, | ||||||||||||||||||||||||||||
| 337 | }, | ||||||||||||||||||||||||||||
| 338 | }, | ||||||||||||||||||||||||||||
| 339 | } }, | ||||||||||||||||||||||||||||
| 340 | 1 | ); | |||||||||||||||||||||||||||
| 341 | |||||||||||||||||||||||||||||
| 342 | has 'time_zone_names' => ( | ||||||||||||||||||||||||||||
| 343 | is => 'ro', | ||||||||||||||||||||||||||||
| 344 | isa => HashRef, | ||||||||||||||||||||||||||||
| 345 | init_arg => undef, | ||||||||||||||||||||||||||||
| 346 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 347 | 0 | hourFormat => q(+HH.mm;-HH.mm), | |||||||||||||||||||||||||||
| 348 | } } | ||||||||||||||||||||||||||||
| 349 | 1 | ); | |||||||||||||||||||||||||||
| 350 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 351 | |||||||||||||||||||||||||||||
| 352 | 1 | 1; | |||||||||||||||||||||||||||
| 353 | |||||||||||||||||||||||||||||
| 354 | # vim: tabstop=4 | ||||||||||||||||||||||||||||