| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::En::Latn::Sh - Package for language English | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::En::Latn::Sh; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\en_SH.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::001'); | |||||||||||||||||||||||||||
| 27 | has 'currencies' => ( | ||||||||||||||||||||||||||||
| 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 | 'GBP' => { | |||||||||||||||||||||||||||
| 33 | symbol => 'GB£', | ||||||||||||||||||||||||||||
| 34 | }, | ||||||||||||||||||||||||||||
| 35 | 'SHP' => { | ||||||||||||||||||||||||||||
| 36 | symbol => '£', | ||||||||||||||||||||||||||||
| 37 | }, | ||||||||||||||||||||||||||||
| 38 | } }, | ||||||||||||||||||||||||||||
| 39 | 1 | ); | |||||||||||||||||||||||||||
| 40 | |||||||||||||||||||||||||||||
| 41 | |||||||||||||||||||||||||||||
| 42 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 43 | is => 'ro', | ||||||||||||||||||||||||||||
| 44 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 45 | init_arg => undef, | ||||||||||||||||||||||||||||
| 46 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=24 SCAR=64.0
| |||||||||||||||||||||||||||||
| 47 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 48 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 49 | 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
| |||||||||||||||||||||||||||||
| 50 | SWITCH: | ||||||||||||||||||||||||||||
| 51 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 52 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 53 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 54 | 0 | ▶ | return 'midnight' if $time == 0; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 55 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 56 | 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
| |||||||||||||||||||||||||||||
| 57 | && $time < 1800; | ||||||||||||||||||||||||||||
| 58 | 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
| |||||||||||||||||||||||||||||
| 59 | && $time < 2100; | ||||||||||||||||||||||||||||
| 60 | 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
| |||||||||||||||||||||||||||||
| 61 | && $time < 1200; | ||||||||||||||||||||||||||||
| 62 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 63 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 64 | } | ||||||||||||||||||||||||||||
| 65 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 66 | 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
| |||||||||||||||||||||||||||||
| 67 | && $time < 1800; | ||||||||||||||||||||||||||||
| 68 | 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
| |||||||||||||||||||||||||||||
| 69 | && $time < 2100; | ||||||||||||||||||||||||||||
| 70 | 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
| |||||||||||||||||||||||||||||
| 71 | && $time < 1200; | ||||||||||||||||||||||||||||
| 72 | 0 | ▶ | return 'night1' if $time >= 2100; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 73 | 0 | ▶ | return 'night1' if $time < 600; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 74 | } | ||||||||||||||||||||||||||||
| 75 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 76 | } | ||||||||||||||||||||||||||||
| 77 | } | ||||||||||||||||||||||||||||
| 78 | 0 | } }, | |||||||||||||||||||||||||||
| 79 | 1 | ); | |||||||||||||||||||||||||||
| 80 | |||||||||||||||||||||||||||||
| 81 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 82 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 83 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 84 | 1 | }; | |||||||||||||||||||||||||||
| 85 | |||||||||||||||||||||||||||||
| 86 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 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 | }, | ||||||||||||||||||||||||||||
| 93 | } }, | ||||||||||||||||||||||||||||
| 94 | 1 | ); | |||||||||||||||||||||||||||
| 95 | |||||||||||||||||||||||||||||
| 96 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 97 | is => 'ro', | ||||||||||||||||||||||||||||
| 98 | isa => HashRef, | ||||||||||||||||||||||||||||
| 99 | init_arg => undef, | ||||||||||||||||||||||||||||
| 100 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 101 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 102 | }, | ||||||||||||||||||||||||||||
| 103 | } }, | ||||||||||||||||||||||||||||
| 104 | 1 | ); | |||||||||||||||||||||||||||
| 105 | |||||||||||||||||||||||||||||
| 106 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 107 | is => 'ro', | ||||||||||||||||||||||||||||
| 108 | isa => HashRef, | ||||||||||||||||||||||||||||
| 109 | init_arg => undef, | ||||||||||||||||||||||||||||
| 110 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 111 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 112 | 'full' => q{HH:mm:ss zzzz}, | ||||||||||||||||||||||||||||
| 113 | 'long' => q{HH:mm:ss z}, | ||||||||||||||||||||||||||||
| 114 | 'medium' => q{HH:mm:ss}, | ||||||||||||||||||||||||||||
| 115 | 'short' => q{HH:mm}, | ||||||||||||||||||||||||||||
| 116 | }, | ||||||||||||||||||||||||||||
| 117 | } }, | ||||||||||||||||||||||||||||
| 118 | 1 | ); | |||||||||||||||||||||||||||
| 119 | |||||||||||||||||||||||||||||
| 120 | has 'datetime_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 | }, | ||||||||||||||||||||||||||||
| 127 | } }, | ||||||||||||||||||||||||||||
| 128 | 1 | ); | |||||||||||||||||||||||||||
| 129 | |||||||||||||||||||||||||||||
| 130 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 131 | is => 'ro', | ||||||||||||||||||||||||||||
| 132 | isa => HashRef, | ||||||||||||||||||||||||||||
| 133 | init_arg => undef, | ||||||||||||||||||||||||||||
| 134 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 135 | 0 | } }, | |||||||||||||||||||||||||||
| 136 | 1 | ); | |||||||||||||||||||||||||||
| 137 | |||||||||||||||||||||||||||||
| 138 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 139 | is => 'ro', | ||||||||||||||||||||||||||||
| 140 | isa => HashRef, | ||||||||||||||||||||||||||||
| 141 | init_arg => undef, | ||||||||||||||||||||||||||||
| 142 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 143 | 0 | } }, | |||||||||||||||||||||||||||
| 144 | 1 | ); | |||||||||||||||||||||||||||
| 145 | |||||||||||||||||||||||||||||
| 146 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 147 | is => 'ro', | ||||||||||||||||||||||||||||
| 148 | isa => HashRef, | ||||||||||||||||||||||||||||
| 149 | init_arg => undef, | ||||||||||||||||||||||||||||
| 150 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 151 | 0 | } }, | |||||||||||||||||||||||||||
| 152 | 1 | ); | |||||||||||||||||||||||||||
| 153 | |||||||||||||||||||||||||||||
| 154 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 155 | |||||||||||||||||||||||||||||
| 156 | 1 | 1; | |||||||||||||||||||||||||||
| 157 | |||||||||||||||||||||||||||||
| 158 | # vim: tabstop=4 | ||||||||||||||||||||||||||||