| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::Es::Latn::Br - Package for language Spanish | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::Es::Latn::Br; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\es_BR.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::Es::Latn::419'); | |||||||||||||||||||||||||||
| 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 | 'BRL' => { | |||||||||||||||||||||||||||
| 33 | symbol => 'R$', | ||||||||||||||||||||||||||||
| 34 | }, | ||||||||||||||||||||||||||||
| 35 | } }, | ||||||||||||||||||||||||||||
| 36 | 1 | ); | |||||||||||||||||||||||||||
| 37 | |||||||||||||||||||||||||||||
| 38 | |||||||||||||||||||||||||||||
| 39 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 40 | is => 'ro', | ||||||||||||||||||||||||||||
| 41 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 42 | init_arg => undef, | ||||||||||||||||||||||||||||
| 43 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=23 SCAR=63.1
| |||||||||||||||||||||||||||||
| 44 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 45 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 46 | 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
| |||||||||||||||||||||||||||||
| 47 | SWITCH: | ||||||||||||||||||||||||||||
| 48 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 49 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 50 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 51 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 52 | 0 | ▶ | return 'evening1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 2000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200
$time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
| |||||||||||||||||||||||||||||
| 53 | && $time < 2000; | ||||||||||||||||||||||||||||
| 54 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 600
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0
$time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
| |||||||||||||||||||||||||||||
| 55 | && $time < 600; | ||||||||||||||||||||||||||||
| 56 | 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
| |||||||||||||||||||||||||||||
| 57 | && $time < 1200; | ||||||||||||||||||||||||||||
| 58 | 0 | ▶ | return 'night1' if $time >= 2000 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 2000 and $time < 2400
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000
$time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
| |||||||||||||||||||||||||||||
| 59 | && $time < 2400; | ||||||||||||||||||||||||||||
| 60 | } | ||||||||||||||||||||||||||||
| 61 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 62 | 0 | ▶ | return 'evening1' if $time >= 1200 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 1200 and $time < 2000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200
$time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
| |||||||||||||||||||||||||||||
| 63 | && $time < 2000; | ||||||||||||||||||||||||||||
| 64 | 0 | ▶ | return 'morning1' if $time >= 0 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 0 and $time < 600
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0
$time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $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 >= 2000 | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
$time >= 2000 and $time < 2400
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000
$time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
| |||||||||||||||||||||||||||||
| 69 | && $time < 2400; | ||||||||||||||||||||||||||||
| 70 | } | ||||||||||||||||||||||||||||
| 71 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 72 | } | ||||||||||||||||||||||||||||
| 73 | } | ||||||||||||||||||||||||||||
| 74 | 0 | } }, | |||||||||||||||||||||||||||
| 75 | 1 | ); | |||||||||||||||||||||||||||
| 76 | |||||||||||||||||||||||||||||
| 77 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 78 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 79 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 80 | 1 | }; | |||||||||||||||||||||||||||
| 81 | |||||||||||||||||||||||||||||
| 82 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 83 | is => 'ro', | ||||||||||||||||||||||||||||
| 84 | isa => HashRef, | ||||||||||||||||||||||||||||
| 85 | init_arg => undef, | ||||||||||||||||||||||||||||
| 86 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 87 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 88 | }, | ||||||||||||||||||||||||||||
| 89 | } }, | ||||||||||||||||||||||||||||
| 90 | 1 | ); | |||||||||||||||||||||||||||
| 91 | |||||||||||||||||||||||||||||
| 92 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 93 | is => 'ro', | ||||||||||||||||||||||||||||
| 94 | isa => HashRef, | ||||||||||||||||||||||||||||
| 95 | init_arg => undef, | ||||||||||||||||||||||||||||
| 96 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 97 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 98 | }, | ||||||||||||||||||||||||||||
| 99 | } }, | ||||||||||||||||||||||||||||
| 100 | 1 | ); | |||||||||||||||||||||||||||
| 101 | |||||||||||||||||||||||||||||
| 102 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 103 | is => 'ro', | ||||||||||||||||||||||||||||
| 104 | isa => HashRef, | ||||||||||||||||||||||||||||
| 105 | init_arg => undef, | ||||||||||||||||||||||||||||
| 106 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 107 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 108 | 'full' => q{HH:mm:ss zzzz}, | ||||||||||||||||||||||||||||
| 109 | 'long' => q{HH:mm:ss z}, | ||||||||||||||||||||||||||||
| 110 | 'medium' => q{HH:mm:ss}, | ||||||||||||||||||||||||||||
| 111 | 'short' => q{HH:mm}, | ||||||||||||||||||||||||||||
| 112 | }, | ||||||||||||||||||||||||||||
| 113 | } }, | ||||||||||||||||||||||||||||
| 114 | 1 | ); | |||||||||||||||||||||||||||
| 115 | |||||||||||||||||||||||||||||
| 116 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 117 | is => 'ro', | ||||||||||||||||||||||||||||
| 118 | isa => HashRef, | ||||||||||||||||||||||||||||
| 119 | init_arg => undef, | ||||||||||||||||||||||||||||
| 120 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 121 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 122 | }, | ||||||||||||||||||||||||||||
| 123 | } }, | ||||||||||||||||||||||||||||
| 124 | 1 | ); | |||||||||||||||||||||||||||
| 125 | |||||||||||||||||||||||||||||
| 126 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 127 | is => 'ro', | ||||||||||||||||||||||||||||
| 128 | isa => HashRef, | ||||||||||||||||||||||||||||
| 129 | init_arg => undef, | ||||||||||||||||||||||||||||
| 130 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 131 | 0 | } }, | |||||||||||||||||||||||||||
| 132 | 1 | ); | |||||||||||||||||||||||||||
| 133 | |||||||||||||||||||||||||||||
| 134 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 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 | } }, | |||||||||||||||||||||||||||
| 140 | 1 | ); | |||||||||||||||||||||||||||
| 141 | |||||||||||||||||||||||||||||
| 142 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 143 | is => 'ro', | ||||||||||||||||||||||||||||
| 144 | isa => HashRef, | ||||||||||||||||||||||||||||
| 145 | init_arg => undef, | ||||||||||||||||||||||||||||
| 146 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 147 | 0 | } }, | |||||||||||||||||||||||||||
| 148 | 1 | ); | |||||||||||||||||||||||||||
| 149 | |||||||||||||||||||||||||||||
| 150 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 151 | |||||||||||||||||||||||||||||
| 152 | 1 | 1; | |||||||||||||||||||||||||||
| 153 | |||||||||||||||||||||||||||||
| 154 | # vim: tabstop=4 | ||||||||||||||||||||||||||||