| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::Ar::Arab::Km - Package for language Arabic | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::Ar::Arab::Km; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\ar_KM.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::Ar::Arab'); | |||||||||||||||||||||||||||
| 27 | 1 | has 'default_numbering_system' => ( | |||||||||||||||||||||||||||
| 28 | is => 'ro', | ||||||||||||||||||||||||||||
| 29 | isa => Str, | ||||||||||||||||||||||||||||
| 30 | init_arg => undef, | ||||||||||||||||||||||||||||
| 31 | default => 'arab', | ||||||||||||||||||||||||||||
| 32 | ); | ||||||||||||||||||||||||||||
| 33 | |||||||||||||||||||||||||||||
| 34 | has 'currencies' => ( | ||||||||||||||||||||||||||||
| 35 | is => 'ro', | ||||||||||||||||||||||||||||
| 36 | isa => HashRef, | ||||||||||||||||||||||||||||
| 37 | init_arg => undef, | ||||||||||||||||||||||||||||
| 38 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 39 | 0 | 'KMF' => { | |||||||||||||||||||||||||||
| 40 | symbol => 'CF', | ||||||||||||||||||||||||||||
| 41 | }, | ||||||||||||||||||||||||||||
| 42 | } }, | ||||||||||||||||||||||||||||
| 43 | 1 | ); | |||||||||||||||||||||||||||
| 44 | |||||||||||||||||||||||||||||
| 45 | |||||||||||||||||||||||||||||
| 46 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 47 | is => 'ro', | ||||||||||||||||||||||||||||
| 48 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 49 | init_arg => undef, | ||||||||||||||||||||||||||||
| 50 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=34 SCAR=70.8
| |||||||||||||||||||||||||||||
| 51 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 52 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 53 | 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
| |||||||||||||||||||||||||||||
| 54 | SWITCH: | ||||||||||||||||||||||||||||
| 55 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 56 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 57 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 58 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1300
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200
$time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
| |||||||||||||||||||||||||||||
| 59 | && $time < 1300; | ||||||||||||||||||||||||||||
| 60 | 0 | ▶ | return 'afternoon2' if $time >= 1300 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1300 and $time < 1800
MC/DC0%0/2
$time >= 1300 and $time < 1800
$time >= 1300
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1800
| |||||||||||||||||||||||||||||
| 61 | && $time < 1800; | ||||||||||||||||||||||||||||
| 62 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2400
MC/DC0%0/2
$time >= 1800 and $time < 2400
$time >= 1800
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2400
| |||||||||||||||||||||||||||||
| 63 | && $time < 2400; | ||||||||||||||||||||||||||||
| 64 | 0 | ▶ | return 'morning1' if $time >= 300 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 300 and $time < 600
MC/DC0%0/2
$time >= 300 and $time < 600
$time >= 300
$time < 600
Truth table0%0/3
A and B
A= $time >= 300B= $time < 600
| |||||||||||||||||||||||||||||
| 65 | && $time < 600; | ||||||||||||||||||||||||||||
| 66 | 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
| |||||||||||||||||||||||||||||
| 67 | && $time < 1200; | ||||||||||||||||||||||||||||
| 68 | 0 | ▶ | return 'night1' 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
| |||||||||||||||||||||||||||||
| 69 | && $time < 100; | ||||||||||||||||||||||||||||
| 70 | 0 | ▶ | return 'night2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 300
MC/DC0%0/2
$time >= 100 and $time < 300
$time >= 100
$time < 300
Truth table0%0/3
A and B
A= $time >= 100B= $time < 300
| |||||||||||||||||||||||||||||
| 71 | && $time < 300; | ||||||||||||||||||||||||||||
| 72 | } | ||||||||||||||||||||||||||||
| 73 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 74 | 0 | ▶ | return 'afternoon1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 1300
MC/DC0%0/2
$time >= 1200 and $time < 1300
$time >= 1200
$time < 1300
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1300
| |||||||||||||||||||||||||||||
| 75 | && $time < 1300; | ||||||||||||||||||||||||||||
| 76 | 0 | ▶ | return 'afternoon2' if $time >= 1300 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1300 and $time < 1800
MC/DC0%0/2
$time >= 1300 and $time < 1800
$time >= 1300
$time < 1800
Truth table0%0/3
A and B
A= $time >= 1300B= $time < 1800
| |||||||||||||||||||||||||||||
| 77 | && $time < 1800; | ||||||||||||||||||||||||||||
| 78 | 0 | ▶ | return 'evening1' if $time >= 1800 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1800 and $time < 2400
MC/DC0%0/2
$time >= 1800 and $time < 2400
$time >= 1800
$time < 2400
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2400
| |||||||||||||||||||||||||||||
| 79 | && $time < 2400; | ||||||||||||||||||||||||||||
| 80 | 0 | ▶ | return 'morning1' if $time >= 300 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 300 and $time < 600
MC/DC0%0/2
$time >= 300 and $time < 600
$time >= 300
$time < 600
Truth table0%0/3
A and B
A= $time >= 300B= $time < 600
| |||||||||||||||||||||||||||||
| 81 | && $time < 600; | ||||||||||||||||||||||||||||
| 82 | 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
| |||||||||||||||||||||||||||||
| 83 | && $time < 1200; | ||||||||||||||||||||||||||||
| 84 | 0 | ▶ | return 'night1' 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
| |||||||||||||||||||||||||||||
| 85 | && $time < 100; | ||||||||||||||||||||||||||||
| 86 | 0 | ▶ | return 'night2' if $time >= 100 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 100 and $time < 300
MC/DC0%0/2
$time >= 100 and $time < 300
$time >= 100
$time < 300
Truth table0%0/3
A and B
A= $time >= 100B= $time < 300
| |||||||||||||||||||||||||||||
| 87 | && $time < 300; | ||||||||||||||||||||||||||||
| 88 | } | ||||||||||||||||||||||||||||
| 89 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 90 | } | ||||||||||||||||||||||||||||
| 91 | } | ||||||||||||||||||||||||||||
| 92 | 0 | } }, | |||||||||||||||||||||||||||
| 93 | 1 | ); | |||||||||||||||||||||||||||
| 94 | |||||||||||||||||||||||||||||
| 95 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 96 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 97 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 98 | 1 | }; | |||||||||||||||||||||||||||
| 99 | |||||||||||||||||||||||||||||
| 100 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 101 | is => 'ro', | ||||||||||||||||||||||||||||
| 102 | isa => HashRef, | ||||||||||||||||||||||||||||
| 103 | init_arg => undef, | ||||||||||||||||||||||||||||
| 104 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 105 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 106 | }, | ||||||||||||||||||||||||||||
| 107 | } }, | ||||||||||||||||||||||||||||
| 108 | 1 | ); | |||||||||||||||||||||||||||
| 109 | |||||||||||||||||||||||||||||
| 110 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 111 | is => 'ro', | ||||||||||||||||||||||||||||
| 112 | isa => HashRef, | ||||||||||||||||||||||||||||
| 113 | init_arg => undef, | ||||||||||||||||||||||||||||
| 114 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 115 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 116 | }, | ||||||||||||||||||||||||||||
| 117 | } }, | ||||||||||||||||||||||||||||
| 118 | 1 | ); | |||||||||||||||||||||||||||
| 119 | |||||||||||||||||||||||||||||
| 120 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 121 | is => 'ro', | ||||||||||||||||||||||||||||
| 122 | isa => HashRef, | ||||||||||||||||||||||||||||
| 123 | init_arg => undef, | ||||||||||||||||||||||||||||
| 124 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 125 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 126 | 'full' => q{HH:mm:ss zzzz}, | ||||||||||||||||||||||||||||
| 127 | 'long' => q{HH:mm:ss z}, | ||||||||||||||||||||||||||||
| 128 | 'medium' => q{HH:mm:ss}, | ||||||||||||||||||||||||||||
| 129 | 'short' => q{HH:mm}, | ||||||||||||||||||||||||||||
| 130 | }, | ||||||||||||||||||||||||||||
| 131 | } }, | ||||||||||||||||||||||||||||
| 132 | 1 | ); | |||||||||||||||||||||||||||
| 133 | |||||||||||||||||||||||||||||
| 134 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 135 | is => 'ro', | ||||||||||||||||||||||||||||
| 136 | isa => HashRef, | ||||||||||||||||||||||||||||
| 137 | init_arg => undef, | ||||||||||||||||||||||||||||
| 138 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 139 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 140 | }, | ||||||||||||||||||||||||||||
| 141 | } }, | ||||||||||||||||||||||||||||
| 142 | 1 | ); | |||||||||||||||||||||||||||
| 143 | |||||||||||||||||||||||||||||
| 144 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 145 | is => 'ro', | ||||||||||||||||||||||||||||
| 146 | isa => HashRef, | ||||||||||||||||||||||||||||
| 147 | init_arg => undef, | ||||||||||||||||||||||||||||
| 148 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 149 | 0 | } }, | |||||||||||||||||||||||||||
| 150 | 1 | ); | |||||||||||||||||||||||||||
| 151 | |||||||||||||||||||||||||||||
| 152 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 153 | is => 'ro', | ||||||||||||||||||||||||||||
| 154 | isa => HashRef, | ||||||||||||||||||||||||||||
| 155 | init_arg => undef, | ||||||||||||||||||||||||||||
| 156 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 157 | 0 | } }, | |||||||||||||||||||||||||||
| 158 | 1 | ); | |||||||||||||||||||||||||||
| 159 | |||||||||||||||||||||||||||||
| 160 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 161 | is => 'ro', | ||||||||||||||||||||||||||||
| 162 | isa => HashRef, | ||||||||||||||||||||||||||||
| 163 | init_arg => undef, | ||||||||||||||||||||||||||||
| 164 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 165 | 0 | } }, | |||||||||||||||||||||||||||
| 166 | 1 | ); | |||||||||||||||||||||||||||
| 167 | |||||||||||||||||||||||||||||
| 168 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 169 | |||||||||||||||||||||||||||||
| 170 | 1 | 1; | |||||||||||||||||||||||||||
| 171 | |||||||||||||||||||||||||||||
| 172 | # vim: tabstop=4 | ||||||||||||||||||||||||||||