| 1 | =encoding utf8 | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | =head1 NAME | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | Locale::CLDR::Locales::Es::Latn::Py - Package for language Spanish | ||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||
| 7 | =cut | ||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | package Locale::CLDR::Locales::Es::Latn::Py; | ||||||||||||||||||||||||||||
| 10 | # This file auto generated from Data\common\main\es_PY.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 'display_name_language' => ( | ||||||||||||||||||||||||||||
| 28 | is => 'ro', | ||||||||||||||||||||||||||||
| 29 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 30 | init_arg => undef, | ||||||||||||||||||||||||||||
| 31 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 32 | 0 | ▶ | sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=17.9
| |||||||||||||||||||||||||||||
| 33 | 0 | my %languages = ( | |||||||||||||||||||||||||||
| 34 | 'ace' => 'acehnés', | ||||||||||||||||||||||||||||
| 35 | 'arp' => 'arapaho', | ||||||||||||||||||||||||||||
| 36 | 'bho' => 'bhojpuri', | ||||||||||||||||||||||||||||
| 37 | 'eu' => 'euskera', | ||||||||||||||||||||||||||||
| 38 | 'grc' => 'griego antiguo', | ||||||||||||||||||||||||||||
| 39 | 'nso' => 'sotho septentrional', | ||||||||||||||||||||||||||||
| 40 | 'pa' => 'punyabí', | ||||||||||||||||||||||||||||
| 41 | 'ss' => 'siswati', | ||||||||||||||||||||||||||||
| 42 | 'sw' => 'suajili', | ||||||||||||||||||||||||||||
| 43 | 'sw_CD' => 'suajili del Congo', | ||||||||||||||||||||||||||||
| 44 | 'tn' => 'setswana', | ||||||||||||||||||||||||||||
| 45 | 'wo' => 'wolof', | ||||||||||||||||||||||||||||
| 46 | 'zgh' => 'tamazight marroquí estándar', | ||||||||||||||||||||||||||||
| 47 | |||||||||||||||||||||||||||||
| 48 | ); | ||||||||||||||||||||||||||||
| 49 | 0 | ▶ | if (@_) { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 50 | 0 | return $languages{$_[0]}; | |||||||||||||||||||||||||||
| 51 | } | ||||||||||||||||||||||||||||
| 52 | 0 | return \%languages; | |||||||||||||||||||||||||||
| 53 | } | ||||||||||||||||||||||||||||
| 54 | 0 | }, | |||||||||||||||||||||||||||
| 55 | 1 | ); | |||||||||||||||||||||||||||
| 56 | |||||||||||||||||||||||||||||
| 57 | has 'display_name_region' => ( | ||||||||||||||||||||||||||||
| 58 | is => 'ro', | ||||||||||||||||||||||||||||
| 59 | isa => HashRef[Str], | ||||||||||||||||||||||||||||
| 60 | init_arg => undef, | ||||||||||||||||||||||||||||
| 61 | 0 | ▶ | default => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 62 | { | ||||||||||||||||||||||||||||
| 63 | 0 | 'BA' => 'Bosnia y Herzegovina', | |||||||||||||||||||||||||||
| 64 | 'GB@alt=short' => 'RU', | ||||||||||||||||||||||||||||
| 65 | 'TL' => 'Timor-Leste', | ||||||||||||||||||||||||||||
| 66 | 'UM' => 'Islas menores alejadas de EE. UU.', | ||||||||||||||||||||||||||||
| 67 | |||||||||||||||||||||||||||||
| 68 | } | ||||||||||||||||||||||||||||
| 69 | }, | ||||||||||||||||||||||||||||
| 70 | 1 | ); | |||||||||||||||||||||||||||
| 71 | |||||||||||||||||||||||||||||
| 72 | has 'units' => ( | ||||||||||||||||||||||||||||
| 73 | is => 'ro', | ||||||||||||||||||||||||||||
| 74 | isa => HashRef[HashRef[HashRef[Str]]], | ||||||||||||||||||||||||||||
| 75 | init_arg => undef, | ||||||||||||||||||||||||||||
| 76 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 77 | 0 | 'long' => { | |||||||||||||||||||||||||||
| 78 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 79 | 'duration-year' => { | ||||||||||||||||||||||||||||
| 80 | 'per' => q({0}/año), | ||||||||||||||||||||||||||||
| 81 | }, | ||||||||||||||||||||||||||||
| 82 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 83 | 'year' => { | ||||||||||||||||||||||||||||
| 84 | 'per' => q({0}/año), | ||||||||||||||||||||||||||||
| 85 | }, | ||||||||||||||||||||||||||||
| 86 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 87 | 'electric-ampere' => { | ||||||||||||||||||||||||||||
| 88 | 'name' => q(amperios), | ||||||||||||||||||||||||||||
| 89 | 'one' => q({0} amperio), | ||||||||||||||||||||||||||||
| 90 | 'other' => q({0} amperios), | ||||||||||||||||||||||||||||
| 91 | }, | ||||||||||||||||||||||||||||
| 92 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 93 | 'ampere' => { | ||||||||||||||||||||||||||||
| 94 | 'name' => q(amperios), | ||||||||||||||||||||||||||||
| 95 | 'one' => q({0} amperio), | ||||||||||||||||||||||||||||
| 96 | 'other' => q({0} amperios), | ||||||||||||||||||||||||||||
| 97 | }, | ||||||||||||||||||||||||||||
| 98 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 99 | 'electric-milliampere' => { | ||||||||||||||||||||||||||||
| 100 | 'name' => q(miliamperios), | ||||||||||||||||||||||||||||
| 101 | 'one' => q({0} miliamperio), | ||||||||||||||||||||||||||||
| 102 | 'other' => q({0} miliamperios), | ||||||||||||||||||||||||||||
| 103 | }, | ||||||||||||||||||||||||||||
| 104 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 105 | 'milliampere' => { | ||||||||||||||||||||||||||||
| 106 | 'name' => q(miliamperios), | ||||||||||||||||||||||||||||
| 107 | 'one' => q({0} miliamperio), | ||||||||||||||||||||||||||||
| 108 | 'other' => q({0} miliamperios), | ||||||||||||||||||||||||||||
| 109 | }, | ||||||||||||||||||||||||||||
| 110 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 111 | 'electric-ohm' => { | ||||||||||||||||||||||||||||
| 112 | 'one' => q({0} ohmio), | ||||||||||||||||||||||||||||
| 113 | 'other' => q({0} ohmios), | ||||||||||||||||||||||||||||
| 114 | }, | ||||||||||||||||||||||||||||
| 115 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 116 | 'ohm' => { | ||||||||||||||||||||||||||||
| 117 | 'one' => q({0} ohmio), | ||||||||||||||||||||||||||||
| 118 | 'other' => q({0} ohmios), | ||||||||||||||||||||||||||||
| 119 | }, | ||||||||||||||||||||||||||||
| 120 | }, | ||||||||||||||||||||||||||||
| 121 | 'narrow' => { | ||||||||||||||||||||||||||||
| 122 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 123 | 'duration-day' => { | ||||||||||||||||||||||||||||
| 124 | 'name' => q(día), | ||||||||||||||||||||||||||||
| 125 | }, | ||||||||||||||||||||||||||||
| 126 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 127 | 'day' => { | ||||||||||||||||||||||||||||
| 128 | 'name' => q(día), | ||||||||||||||||||||||||||||
| 129 | }, | ||||||||||||||||||||||||||||
| 130 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 131 | 'duration-month' => { | ||||||||||||||||||||||||||||
| 132 | 'name' => q(mes), | ||||||||||||||||||||||||||||
| 133 | }, | ||||||||||||||||||||||||||||
| 134 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 135 | 'month' => { | ||||||||||||||||||||||||||||
| 136 | 'name' => q(mes), | ||||||||||||||||||||||||||||
| 137 | }, | ||||||||||||||||||||||||||||
| 138 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 139 | 'duration-year' => { | ||||||||||||||||||||||||||||
| 140 | 'name' => q(año), | ||||||||||||||||||||||||||||
| 141 | }, | ||||||||||||||||||||||||||||
| 142 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 143 | 'year' => { | ||||||||||||||||||||||||||||
| 144 | 'name' => q(año), | ||||||||||||||||||||||||||||
| 145 | }, | ||||||||||||||||||||||||||||
| 146 | }, | ||||||||||||||||||||||||||||
| 147 | 'short' => { | ||||||||||||||||||||||||||||
| 148 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 149 | 'duration-day' => { | ||||||||||||||||||||||||||||
| 150 | 'name' => q(días), | ||||||||||||||||||||||||||||
| 151 | 'one' => q({0} día), | ||||||||||||||||||||||||||||
| 152 | 'other' => q({0} días), | ||||||||||||||||||||||||||||
| 153 | 'per' => q({0}/día), | ||||||||||||||||||||||||||||
| 154 | }, | ||||||||||||||||||||||||||||
| 155 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 156 | 'day' => { | ||||||||||||||||||||||||||||
| 157 | 'name' => q(días), | ||||||||||||||||||||||||||||
| 158 | 'one' => q({0} día), | ||||||||||||||||||||||||||||
| 159 | 'other' => q({0} días), | ||||||||||||||||||||||||||||
| 160 | 'per' => q({0}/día), | ||||||||||||||||||||||||||||
| 161 | }, | ||||||||||||||||||||||||||||
| 162 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 163 | 'duration-month' => { | ||||||||||||||||||||||||||||
| 164 | 'name' => q(meses), | ||||||||||||||||||||||||||||
| 165 | 'one' => q({0} mes), | ||||||||||||||||||||||||||||
| 166 | 'other' => q({0} meses), | ||||||||||||||||||||||||||||
| 167 | 'per' => q({0}/mes), | ||||||||||||||||||||||||||||
| 168 | }, | ||||||||||||||||||||||||||||
| 169 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 170 | 'month' => { | ||||||||||||||||||||||||||||
| 171 | 'name' => q(meses), | ||||||||||||||||||||||||||||
| 172 | 'one' => q({0} mes), | ||||||||||||||||||||||||||||
| 173 | 'other' => q({0} meses), | ||||||||||||||||||||||||||||
| 174 | 'per' => q({0}/mes), | ||||||||||||||||||||||||||||
| 175 | }, | ||||||||||||||||||||||||||||
| 176 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 177 | 'duration-second' => { | ||||||||||||||||||||||||||||
| 178 | 'name' => q(seg.), | ||||||||||||||||||||||||||||
| 179 | 'one' => q({0} seg.), | ||||||||||||||||||||||||||||
| 180 | 'other' => q({0} seg.), | ||||||||||||||||||||||||||||
| 181 | 'per' => q({0}/seg.), | ||||||||||||||||||||||||||||
| 182 | }, | ||||||||||||||||||||||||||||
| 183 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 184 | 'second' => { | ||||||||||||||||||||||||||||
| 185 | 'name' => q(seg.), | ||||||||||||||||||||||||||||
| 186 | 'one' => q({0} seg.), | ||||||||||||||||||||||||||||
| 187 | 'other' => q({0} seg.), | ||||||||||||||||||||||||||||
| 188 | 'per' => q({0}/seg.), | ||||||||||||||||||||||||||||
| 189 | }, | ||||||||||||||||||||||||||||
| 190 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 191 | 'duration-year' => { | ||||||||||||||||||||||||||||
| 192 | 'name' => q(años), | ||||||||||||||||||||||||||||
| 193 | 'one' => q({0} año), | ||||||||||||||||||||||||||||
| 194 | 'other' => q({0} años), | ||||||||||||||||||||||||||||
| 195 | 'per' => q({0}/año), | ||||||||||||||||||||||||||||
| 196 | }, | ||||||||||||||||||||||||||||
| 197 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 198 | 'year' => { | ||||||||||||||||||||||||||||
| 199 | 'name' => q(años), | ||||||||||||||||||||||||||||
| 200 | 'one' => q({0} año), | ||||||||||||||||||||||||||||
| 201 | 'other' => q({0} años), | ||||||||||||||||||||||||||||
| 202 | 'per' => q({0}/año), | ||||||||||||||||||||||||||||
| 203 | }, | ||||||||||||||||||||||||||||
| 204 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 205 | 'electric-volt' => { | ||||||||||||||||||||||||||||
| 206 | 'name' => q(voltios), | ||||||||||||||||||||||||||||
| 207 | }, | ||||||||||||||||||||||||||||
| 208 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 209 | 'volt' => { | ||||||||||||||||||||||||||||
| 210 | 'name' => q(voltios), | ||||||||||||||||||||||||||||
| 211 | }, | ||||||||||||||||||||||||||||
| 212 | # Long Unit Identifier | ||||||||||||||||||||||||||||
| 213 | 'power-watt' => { | ||||||||||||||||||||||||||||
| 214 | 'name' => q(vatios), | ||||||||||||||||||||||||||||
| 215 | }, | ||||||||||||||||||||||||||||
| 216 | # Core Unit Identifier | ||||||||||||||||||||||||||||
| 217 | 'watt' => { | ||||||||||||||||||||||||||||
| 218 | 'name' => q(vatios), | ||||||||||||||||||||||||||||
| 219 | }, | ||||||||||||||||||||||||||||
| 220 | }, | ||||||||||||||||||||||||||||
| 221 | } } | ||||||||||||||||||||||||||||
| 222 | 1 | ); | |||||||||||||||||||||||||||
| 223 | |||||||||||||||||||||||||||||
| 224 | has 'number_symbols' => ( | ||||||||||||||||||||||||||||
| 225 | is => 'ro', | ||||||||||||||||||||||||||||
| 226 | isa => HashRef, | ||||||||||||||||||||||||||||
| 227 | init_arg => undef, | ||||||||||||||||||||||||||||
| 228 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 229 | 0 | 'latn' => { | |||||||||||||||||||||||||||
| 230 | 'decimal' => q(,), | ||||||||||||||||||||||||||||
| 231 | 'group' => q(.), | ||||||||||||||||||||||||||||
| 232 | }, | ||||||||||||||||||||||||||||
| 233 | } } | ||||||||||||||||||||||||||||
| 234 | 1 | ); | |||||||||||||||||||||||||||
| 235 | |||||||||||||||||||||||||||||
| 236 | has 'number_currency_formats' => ( | ||||||||||||||||||||||||||||
| 237 | is => 'ro', | ||||||||||||||||||||||||||||
| 238 | isa => HashRef, | ||||||||||||||||||||||||||||
| 239 | init_arg => undef, | ||||||||||||||||||||||||||||
| 240 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 241 | 0 | 'latn' => { | |||||||||||||||||||||||||||
| 242 | 'pattern' => { | ||||||||||||||||||||||||||||
| 243 | 'default' => { | ||||||||||||||||||||||||||||
| 244 | 'standard' => { | ||||||||||||||||||||||||||||
| 245 | 'negative' => '¤ -#,##0.00', | ||||||||||||||||||||||||||||
| 246 | 'positive' => '¤ #,##0.00', | ||||||||||||||||||||||||||||
| 247 | }, | ||||||||||||||||||||||||||||
| 248 | }, | ||||||||||||||||||||||||||||
| 249 | }, | ||||||||||||||||||||||||||||
| 250 | }, | ||||||||||||||||||||||||||||
| 251 | } }, | ||||||||||||||||||||||||||||
| 252 | 1 | ); | |||||||||||||||||||||||||||
| 253 | |||||||||||||||||||||||||||||
| 254 | has 'currencies' => ( | ||||||||||||||||||||||||||||
| 255 | is => 'ro', | ||||||||||||||||||||||||||||
| 256 | isa => HashRef, | ||||||||||||||||||||||||||||
| 257 | init_arg => undef, | ||||||||||||||||||||||||||||
| 258 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 259 | 0 | 'PYG' => { | |||||||||||||||||||||||||||
| 260 | symbol => 'Gs.', | ||||||||||||||||||||||||||||
| 261 | }, | ||||||||||||||||||||||||||||
| 262 | } }, | ||||||||||||||||||||||||||||
| 263 | 1 | ); | |||||||||||||||||||||||||||
| 264 | |||||||||||||||||||||||||||||
| 265 | |||||||||||||||||||||||||||||
| 266 | has 'calendar_months' => ( | ||||||||||||||||||||||||||||
| 267 | is => 'ro', | ||||||||||||||||||||||||||||
| 268 | isa => HashRef, | ||||||||||||||||||||||||||||
| 269 | init_arg => undef, | ||||||||||||||||||||||||||||
| 270 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 271 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 272 | 'format' => { | ||||||||||||||||||||||||||||
| 273 | abbreviated => { | ||||||||||||||||||||||||||||
| 274 | nonleap => [ | ||||||||||||||||||||||||||||
| 275 | 'ene.', | ||||||||||||||||||||||||||||
| 276 | 'feb.', | ||||||||||||||||||||||||||||
| 277 | 'mar.', | ||||||||||||||||||||||||||||
| 278 | 'abr.', | ||||||||||||||||||||||||||||
| 279 | 'may.', | ||||||||||||||||||||||||||||
| 280 | 'jun.', | ||||||||||||||||||||||||||||
| 281 | 'jul.', | ||||||||||||||||||||||||||||
| 282 | 'ago.', | ||||||||||||||||||||||||||||
| 283 | 'sept.', | ||||||||||||||||||||||||||||
| 284 | 'oct.', | ||||||||||||||||||||||||||||
| 285 | 'nov.', | ||||||||||||||||||||||||||||
| 286 | 'dic.' | ||||||||||||||||||||||||||||
| 287 | ], | ||||||||||||||||||||||||||||
| 288 | leap => [ | ||||||||||||||||||||||||||||
| 289 | |||||||||||||||||||||||||||||
| 290 | ], | ||||||||||||||||||||||||||||
| 291 | }, | ||||||||||||||||||||||||||||
| 292 | }, | ||||||||||||||||||||||||||||
| 293 | }, | ||||||||||||||||||||||||||||
| 294 | } }, | ||||||||||||||||||||||||||||
| 295 | 1 | ); | |||||||||||||||||||||||||||
| 296 | |||||||||||||||||||||||||||||
| 297 | has 'calendar_days' => ( | ||||||||||||||||||||||||||||
| 298 | is => 'ro', | ||||||||||||||||||||||||||||
| 299 | isa => HashRef, | ||||||||||||||||||||||||||||
| 300 | init_arg => undef, | ||||||||||||||||||||||||||||
| 301 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 302 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 303 | 'format' => { | ||||||||||||||||||||||||||||
| 304 | short => { | ||||||||||||||||||||||||||||
| 305 | mon => 'lu', | ||||||||||||||||||||||||||||
| 306 | tue => 'ma', | ||||||||||||||||||||||||||||
| 307 | wed => 'mi', | ||||||||||||||||||||||||||||
| 308 | thu => 'ju', | ||||||||||||||||||||||||||||
| 309 | fri => 'vi', | ||||||||||||||||||||||||||||
| 310 | sat => 'sa', | ||||||||||||||||||||||||||||
| 311 | sun => 'do' | ||||||||||||||||||||||||||||
| 312 | }, | ||||||||||||||||||||||||||||
| 313 | }, | ||||||||||||||||||||||||||||
| 314 | 'stand-alone' => { | ||||||||||||||||||||||||||||
| 315 | short => { | ||||||||||||||||||||||||||||
| 316 | mon => 'Lu', | ||||||||||||||||||||||||||||
| 317 | tue => 'Ma', | ||||||||||||||||||||||||||||
| 318 | wed => 'Mi', | ||||||||||||||||||||||||||||
| 319 | thu => 'Ju', | ||||||||||||||||||||||||||||
| 320 | fri => 'Vi', | ||||||||||||||||||||||||||||
| 321 | sat => 'Sa', | ||||||||||||||||||||||||||||
| 322 | sun => 'Do' | ||||||||||||||||||||||||||||
| 323 | }, | ||||||||||||||||||||||||||||
| 324 | }, | ||||||||||||||||||||||||||||
| 325 | }, | ||||||||||||||||||||||||||||
| 326 | } }, | ||||||||||||||||||||||||||||
| 327 | 1 | ); | |||||||||||||||||||||||||||
| 328 | |||||||||||||||||||||||||||||
| 329 | has 'day_period_data' => ( | ||||||||||||||||||||||||||||
| 330 | is => 'ro', | ||||||||||||||||||||||||||||
| 331 | isa => CodeRef, | ||||||||||||||||||||||||||||
| 332 | init_arg => undef, | ||||||||||||||||||||||||||||
| 333 | 0 | ▶ | default => sub { sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=23 SCAR=63.1
| |||||||||||||||||||||||||||||
| 334 | # Time in hhmm format | ||||||||||||||||||||||||||||
| 335 | 0 | my ($self, $type, $time, $day_period_type) = @_; | |||||||||||||||||||||||||||
| 336 | 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
| |||||||||||||||||||||||||||||
| 337 | SWITCH: | ||||||||||||||||||||||||||||
| 338 | 0 | for ($type) { | |||||||||||||||||||||||||||
| 339 | 0 | ▶ | if ($_ eq 'gregorian') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 340 | 0 | ▶ | if($day_period_type eq 'default') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 341 | 0 | ▶ | return 'noon' if $time == 1200; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 342 | 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
| |||||||||||||||||||||||||||||
| 343 | && $time < 2000; | ||||||||||||||||||||||||||||
| 344 | 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
| |||||||||||||||||||||||||||||
| 345 | && $time < 600; | ||||||||||||||||||||||||||||
| 346 | 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
| |||||||||||||||||||||||||||||
| 347 | && $time < 1200; | ||||||||||||||||||||||||||||
| 348 | 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
| |||||||||||||||||||||||||||||
| 349 | && $time < 2400; | ||||||||||||||||||||||||||||
| 350 | } | ||||||||||||||||||||||||||||
| 351 | 0 | ▶ | if($day_period_type eq 'selection') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 352 | 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
| |||||||||||||||||||||||||||||
| 353 | && $time < 2000; | ||||||||||||||||||||||||||||
| 354 | 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
| |||||||||||||||||||||||||||||
| 355 | && $time < 600; | ||||||||||||||||||||||||||||
| 356 | 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
| |||||||||||||||||||||||||||||
| 357 | && $time < 1200; | ||||||||||||||||||||||||||||
| 358 | 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
| |||||||||||||||||||||||||||||
| 359 | && $time < 2400; | ||||||||||||||||||||||||||||
| 360 | } | ||||||||||||||||||||||||||||
| 361 | 0 | last SWITCH; | |||||||||||||||||||||||||||
| 362 | } | ||||||||||||||||||||||||||||
| 363 | } | ||||||||||||||||||||||||||||
| 364 | 0 | } }, | |||||||||||||||||||||||||||
| 365 | 1 | ); | |||||||||||||||||||||||||||
| 366 | |||||||||||||||||||||||||||||
| 367 | 0 | ▶ | around day_period_data => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 368 | 0 | my ($orig, $self) = @_; | |||||||||||||||||||||||||||
| 369 | 0 | return $self->$orig; | |||||||||||||||||||||||||||
| 370 | 1 | }; | |||||||||||||||||||||||||||
| 371 | |||||||||||||||||||||||||||||
| 372 | has 'day_periods' => ( | ||||||||||||||||||||||||||||
| 373 | is => 'ro', | ||||||||||||||||||||||||||||
| 374 | isa => HashRef, | ||||||||||||||||||||||||||||
| 375 | init_arg => undef, | ||||||||||||||||||||||||||||
| 376 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 377 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 378 | 'format' => { | ||||||||||||||||||||||||||||
| 379 | 'abbreviated' => { | ||||||||||||||||||||||||||||
| 380 | 'am' => q{a. m.}, | ||||||||||||||||||||||||||||
| 381 | 'pm' => q{p. m.}, | ||||||||||||||||||||||||||||
| 382 | }, | ||||||||||||||||||||||||||||
| 383 | 'wide' => { | ||||||||||||||||||||||||||||
| 384 | 'am' => q{a. m.}, | ||||||||||||||||||||||||||||
| 385 | 'pm' => q{p. m.}, | ||||||||||||||||||||||||||||
| 386 | }, | ||||||||||||||||||||||||||||
| 387 | }, | ||||||||||||||||||||||||||||
| 388 | 'stand-alone' => { | ||||||||||||||||||||||||||||
| 389 | 'abbreviated' => { | ||||||||||||||||||||||||||||
| 390 | 'am' => q{a. m.}, | ||||||||||||||||||||||||||||
| 391 | 'pm' => q{p. m.}, | ||||||||||||||||||||||||||||
| 392 | }, | ||||||||||||||||||||||||||||
| 393 | 'narrow' => { | ||||||||||||||||||||||||||||
| 394 | 'am' => q{a. m.}, | ||||||||||||||||||||||||||||
| 395 | 'noon' => q{m.}, | ||||||||||||||||||||||||||||
| 396 | 'pm' => q{p. m.}, | ||||||||||||||||||||||||||||
| 397 | }, | ||||||||||||||||||||||||||||
| 398 | 'wide' => { | ||||||||||||||||||||||||||||
| 399 | 'am' => q{a. m.}, | ||||||||||||||||||||||||||||
| 400 | 'pm' => q{p. m.}, | ||||||||||||||||||||||||||||
| 401 | }, | ||||||||||||||||||||||||||||
| 402 | }, | ||||||||||||||||||||||||||||
| 403 | }, | ||||||||||||||||||||||||||||
| 404 | } }, | ||||||||||||||||||||||||||||
| 405 | 1 | ); | |||||||||||||||||||||||||||
| 406 | |||||||||||||||||||||||||||||
| 407 | has 'eras' => ( | ||||||||||||||||||||||||||||
| 408 | is => 'ro', | ||||||||||||||||||||||||||||
| 409 | isa => HashRef, | ||||||||||||||||||||||||||||
| 410 | init_arg => undef, | ||||||||||||||||||||||||||||
| 411 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 412 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 413 | }, | ||||||||||||||||||||||||||||
| 414 | } }, | ||||||||||||||||||||||||||||
| 415 | 1 | ); | |||||||||||||||||||||||||||
| 416 | |||||||||||||||||||||||||||||
| 417 | has 'date_formats' => ( | ||||||||||||||||||||||||||||
| 418 | is => 'ro', | ||||||||||||||||||||||||||||
| 419 | isa => HashRef, | ||||||||||||||||||||||||||||
| 420 | init_arg => undef, | ||||||||||||||||||||||||||||
| 421 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 422 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 423 | }, | ||||||||||||||||||||||||||||
| 424 | } }, | ||||||||||||||||||||||||||||
| 425 | 1 | ); | |||||||||||||||||||||||||||
| 426 | |||||||||||||||||||||||||||||
| 427 | has 'time_formats' => ( | ||||||||||||||||||||||||||||
| 428 | is => 'ro', | ||||||||||||||||||||||||||||
| 429 | isa => HashRef, | ||||||||||||||||||||||||||||
| 430 | init_arg => undef, | ||||||||||||||||||||||||||||
| 431 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 432 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 433 | }, | ||||||||||||||||||||||||||||
| 434 | } }, | ||||||||||||||||||||||||||||
| 435 | 1 | ); | |||||||||||||||||||||||||||
| 436 | |||||||||||||||||||||||||||||
| 437 | has 'datetime_formats' => ( | ||||||||||||||||||||||||||||
| 438 | is => 'ro', | ||||||||||||||||||||||||||||
| 439 | isa => HashRef, | ||||||||||||||||||||||||||||
| 440 | init_arg => undef, | ||||||||||||||||||||||||||||
| 441 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 442 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 443 | }, | ||||||||||||||||||||||||||||
| 444 | } }, | ||||||||||||||||||||||||||||
| 445 | 1 | ); | |||||||||||||||||||||||||||
| 446 | |||||||||||||||||||||||||||||
| 447 | has 'datetime_formats_available_formats' => ( | ||||||||||||||||||||||||||||
| 448 | is => 'ro', | ||||||||||||||||||||||||||||
| 449 | isa => HashRef, | ||||||||||||||||||||||||||||
| 450 | init_arg => undef, | ||||||||||||||||||||||||||||
| 451 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 452 | 0 | } }, | |||||||||||||||||||||||||||
| 453 | 1 | ); | |||||||||||||||||||||||||||
| 454 | |||||||||||||||||||||||||||||
| 455 | has 'datetime_formats_append_item' => ( | ||||||||||||||||||||||||||||
| 456 | is => 'ro', | ||||||||||||||||||||||||||||
| 457 | isa => HashRef, | ||||||||||||||||||||||||||||
| 458 | init_arg => undef, | ||||||||||||||||||||||||||||
| 459 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 460 | 0 | } }, | |||||||||||||||||||||||||||
| 461 | 1 | ); | |||||||||||||||||||||||||||
| 462 | |||||||||||||||||||||||||||||
| 463 | has 'datetime_formats_interval' => ( | ||||||||||||||||||||||||||||
| 464 | is => 'ro', | ||||||||||||||||||||||||||||
| 465 | isa => HashRef, | ||||||||||||||||||||||||||||
| 466 | init_arg => undef, | ||||||||||||||||||||||||||||
| 467 | 0 | ▶ | default => sub { { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 468 | 0 | 'gregorian' => { | |||||||||||||||||||||||||||
| 469 | Md => { | ||||||||||||||||||||||||||||
| 470 | M => q{d/M 'al' d/M}, | ||||||||||||||||||||||||||||
| 471 | d => q{d/M 'al' d/M}, | ||||||||||||||||||||||||||||
| 472 | }, | ||||||||||||||||||||||||||||
| 473 | h => { | ||||||||||||||||||||||||||||
| 474 | a => q{h a 'a' h a}, | ||||||||||||||||||||||||||||
| 475 | h => q{h 'a' h a}, | ||||||||||||||||||||||||||||
| 476 | }, | ||||||||||||||||||||||||||||
| 477 | hm => { | ||||||||||||||||||||||||||||
| 478 | a => q{h:mm a 'a' h:mm a}, | ||||||||||||||||||||||||||||
| 479 | h => q{h:mm 'a' h:mm a}, | ||||||||||||||||||||||||||||
| 480 | m => q{h:mm 'a' h:mm a}, | ||||||||||||||||||||||||||||
| 481 | }, | ||||||||||||||||||||||||||||
| 482 | yMMM => { | ||||||||||||||||||||||||||||
| 483 | M => q{MMM 'a' MMM y}, | ||||||||||||||||||||||||||||
| 484 | y => q{MMM 'de' y 'a' MMM 'de' y}, | ||||||||||||||||||||||||||||
| 485 | }, | ||||||||||||||||||||||||||||
| 486 | yMMMM => { | ||||||||||||||||||||||||||||
| 487 | M => q{MMMM 'a' MMMM 'de' y}, | ||||||||||||||||||||||||||||
| 488 | y => q{MMMM 'de' y 'a' MMMM 'de' y}, | ||||||||||||||||||||||||||||
| 489 | }, | ||||||||||||||||||||||||||||
| 490 | yMMMd => { | ||||||||||||||||||||||||||||
| 491 | M => q{d 'de' MMM 'al' d 'de' MMM 'de' y}, | ||||||||||||||||||||||||||||
| 492 | }, | ||||||||||||||||||||||||||||
| 493 | yMd => { | ||||||||||||||||||||||||||||
| 494 | M => q{d/M/y 'al' d/M/y}, | ||||||||||||||||||||||||||||
| 495 | d => q{d/M/y 'al' d/M/y}, | ||||||||||||||||||||||||||||
| 496 | y => q{d/M/y 'al' d/M/y}, | ||||||||||||||||||||||||||||
| 497 | }, | ||||||||||||||||||||||||||||
| 498 | }, | ||||||||||||||||||||||||||||
| 499 | } }, | ||||||||||||||||||||||||||||
| 500 | 1 | ); | |||||||||||||||||||||||||||
| 501 | |||||||||||||||||||||||||||||
| 502 | 1 | ▶ | no Moo; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 503 | |||||||||||||||||||||||||||||
| 504 | 1 | 1; | |||||||||||||||||||||||||||
| 505 | |||||||||||||||||||||||||||||
| 506 | # vim: tabstop=4 | ||||||||||||||||||||||||||||