=encoding utf8
=head1
Locale::CLDR::Locales::Es::Any::Pe - Package for language Spanish
=cut
# This file auto generated from Data\common\main\es_PE.xml
# on Sun 16 Dec 4:13:59 pm GMT
use strict;
use version;
our $VERSION = version->declare('v0.34.0');
use v5.10.1;
use mro 'c3';
use utf8;
use if $^V ge v5.12.0, feature => 'unicode_strings';
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
use Moo;
extends('Locale::CLDR::Locales::Es::Any::419');
has 'display_name_language' => (
is => 'ro',
isa => CodeRef,
init_arg => undef,
default => sub {
sub {
my %languages = (
'ace' => 'acehnés',
'arp' => 'arapaho',
'bho' => 'bhojpuri',
'eu' => 'euskera',
'grc' => 'griego antiguo',
'lo' => 'lao',
'nso' => 'sotho septentrional',
'pa' => 'punyabí',
'ss' => 'siswati',
'sw' => 'suajili',
'sw_CD' => 'suajili del Congo',
'tn' => 'setswana',
'wo' => 'wolof',
'zgh' => 'tamazight marroquí estándar',
);
if (@_) {
return $languages{$_[0]};
}
return \%languages;
}
},
);
has 'display_name_region' => (
is => 'ro',
isa => HashRef[Str],
init_arg => undef,
default => sub {
{
'BA' => 'Bosnia y Herzegovina',
'GB@alt=short' => 'RU',
'TA' => 'Tristán de Acuña',
'TL' => 'Timor-Leste',
'UM' => 'Islas menores alejadas de EE. UU.',
}
},
);
has 'currencies' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'PEN' => {
symbol => 'S/',
},
} },
);
has 'calendar_months' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'gregorian' => {
'format' => {
abbreviated => {
nonleap => [
'ene.',
'feb.',
'mar.',
'abr.',
'may.',
'jun.',
'jul.',
'ago.',
'set.',
'oct.',
'nov.',
'dic.'
],
leap => [
],
},
wide => {
nonleap => [
'enero',
'febrero',
'marzo',
'abril',
'mayo',
'junio',
'julio',
'agosto',
'setiembre',
'octubre',
'noviembre',
'diciembre'
],
leap => [
],
},
},
'stand-alone' => {
abbreviated => {
nonleap => [
'Ene.',
'Feb.',
'Mar.',
'Abr.',
'May.',
'Jun.',
'Jul.',
'Ago.',
'Set.',
'Oct.',
'Nov.',
'Dic.'
],
leap => [
],
},
wide => {
nonleap => [
'Enero',
'Febrero',
'Marzo',
'Abril',
'Mayo',
'Junio',
'Julio',
'Agosto',
'Setiembre',
'Octubre',
'Noviembre',
'Diciembre'
],
leap => [
],
},
},
},
} },
);
has 'day_period_data' => (
is => 'ro',
isa => CodeRef,
init_arg => undef,
default => sub { sub {
# Time in hhmm format
my ($self, $type, $time, $day_period_type) = @_;
$day_period_type //= 'default';
SWITCH:
for ($type) {
if ($_ eq 'generic') {
if($day_period_type eq 'default') {
return 'noon' if $time == 1200;
return 'night1' if $time >= 2000
&& $time < 2400;
return 'morning2' if $time >= 600
&& $time < 1200;
return 'evening1' if $time >= 1200
&& $time < 2000;
return 'morning1' if $time >= 0
&& $time < 600;
}
if($day_period_type eq 'selection') {
return 'morning1' if $time >= 0
&& $time < 600;
return 'evening1' if $time >= 1200
&& $time < 2000;
return 'morning2' if $time >= 600
&& $time < 1200;
return 'night1' if $time >= 2000
&& $time < 2400;
}
last SWITCH;
}
if ($_ eq 'gregorian') {
if($day_period_type eq 'default') {
return 'noon' if $time == 1200;
return 'night1' if $time >= 2000
&& $time < 2400;
return 'morning2' if $time >= 600
&& $time < 1200;
return 'evening1' if $time >= 1200
&& $time < 2000;
return 'morning1' if $time >= 0
&& $time < 600;
}
if($day_period_type eq 'selection') {
return 'morning1' if $time >= 0
&& $time < 600;
return 'evening1' if $time >= 1200
&& $time < 2000;
return 'morning2' if $time >= 600
&& $time < 1200;
return 'night1' if $time >= 2000
&& $time < 2400;
}
last SWITCH;
}
}
} },
);
around day_period_data => sub {
my ($orig, $self) = @_;
return $self->$orig;
};
has 'day_periods' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'gregorian' => {
'format' => {
'wide' => {
'am' => q{a. m.},
'pm' => q{p. m.},
},
'abbreviated' => {
'pm' => q{p. m.},
'am' => q{a. m.},
},
},
'stand-alone' => {
'abbreviated' => {
'am' => q{a. m.},
'pm' => q{p. m.},
},
'narrow' => {
'pm' => q{p. m.},
'am' => q{a. m.},
},
'wide' => {
'am' => q{a. m.},
'pm' => q{p. m.},
},
},
},
} },
);
has 'eras' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'generic' => {
},
'gregorian' => {
},
} },
);
has 'date_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'generic' => {
'short' => q{d/MM/yy GGGGG},
},
'gregorian' => {
'short' => q{d/MM/yy},
},
} },
);
has 'time_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'generic' => {
},
'gregorian' => {
},
} },
);
has 'datetime_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'generic' => {
},
'gregorian' => {
},
} },
);
has 'datetime_formats_available_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
} },
);
has 'datetime_formats_append_item' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
} },
);
has 'datetime_formats_interval' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'gregorian' => {
Hm => {
H => q{HH:mm–HH:mm},
m => q{HH:mm–HH:mm},
},
Hmv => {
H => q{HH:mm–HH:mm v},
m => q{HH:mm–HH:mm v},
},
Hv => {
H => q{HH–HH v},
},
MEd => {
M => q{E d/MM – E d/MM},
d => q{E d/MM – E d/MM},
},
MMMEd => {
M => q{E d 'de' MMM 'al' E d 'de' MMM},
d => q{E d 'al' E d 'de' MMM},
},
MMMd => {
M => q{d 'de' MMM 'al' d 'de' MMM},
},
Md => {
M => q{d/MM – d/MM},
d => q{d/MM – d/MM},
},
fallback => '{0} a el {1}',
hm => {
h => q{h:mm–h:mm a},
m => q{h:mm–h:mm a},
},
yM => {
M => q{MM/y – MM/y},
y => q{MM/y – MM/y},
},
yMEd => {
M => q{E d/MM/y – E d/MM/y},
d => q{E d/MM/y – E d/MM/y},
y => q{E d/MM/y – E d/MM/y},
},
yMMM => {
y => q{MMM 'de' y 'a' MMM 'de' y},
},
yMMMEd => {
M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
d => q{E d 'al' E d 'de' MMM 'de' y},
y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
},
yMMMd => {
M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
},
yMd => {
M => q{d/MM/y – d/MM/y},
d => q{d/MM/y – d/MM/y},
y => q{d/MM/y – d/MM/y},
},
},
'generic' => {
Hm => {
H => q{HH:mm–HH:mm},
m => q{HH:mm–HH:mm},
},
Hmv => {
H => q{HH:mm–HH:mm v},
m => q{HH:mm–HH:mm v},
},
MEd => {
M => q{E d/MM – E d/MM},
d => q{E d/MM – E d/MM},
},
MMMEd => {
M => q{E d 'de' MMM 'al' E d 'de' MMM},
d => q{E d 'al' E d 'de' MMM},
},
MMMd => {
M => q{d 'de' MMM 'al' d 'de' MMM},
},
Md => {
M => q{d/MM – d/MM},
d => q{d/MM – d/MM},
},
fallback => '{0} a el {1}',
hm => {
h => q{h:mm–h:mm a},
m => q{h:mm–h:mm a},
},
hmv => {
h => q{h:mm–h:mm a v},
m => q{h:mm–h:mm a v},
},
y => {
y => q{y–y},
},
yM => {
M => q{MM/y – MM/y},
y => q{MM/y – MM/y},
},
yMEd => {
M => q{E d/MM/y – E d/MM/y},
d => q{E d/MM/y – E d/MM/y},
y => q{E d/MM/y – E d/MM/y},
},
yMMM => {
M => q{MMM–MMM 'de' y},
y => q{MMM 'de' y 'a' MMM 'de' y},
},
yMMMEd => {
M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
d => q{E d 'al' E d 'de' MMM 'de' y},
y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
},
yMMMd => {
M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
d => q{d–d 'de' MMM 'de' y},
y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
},
yMd => {
M => q{d/MM/y – d/MM/y},
d => q{d/MM/y – d/MM/y},
y => q{d/MM/y – d/MM/y},
},
},
} },
);
has 'time_zone_names' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'Peru' => {
short => {
'daylight' => q#PEST#,
'generic' => q#PET#,
'standard' => q#PET#,
},
},
} }
);
no Moo;
1;
# vim: tabstop=4