=encoding utf8
=head1
Locale::CLDR::Locales::Es::Any::Uy - Package for language Spanish
=cut
# This file auto generated from Data\common\main\es_UY.xml
# on Sun 3 Feb 1:49:08 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 'number_symbols' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'latn' => {
'decimal' => q(,),
'group' => q(.),
},
} }
);
has 'number_currency_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'latn' => {
'pattern' => {
'default' => {
'accounting' => {
'negative' => '(¤ #,##0.00)',
'positive' => '¤ #,##0.00',
},
'standard' => {
'positive' => '¤ #,##0.00',
},
},
},
},
} },
);
has 'currencies' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'USD' => {
symbol => 'US$',
},
'UYU' => {
symbol => '$',
},
'UYW' => {
symbol => 'UP',
},
} },
);
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 'gregorian') {
if($day_period_type eq 'selection') {
return 'night1' if $time >= 2000
&& $time < 2400;
return 'morning2' if $time >= 600
&& $time < 1200;
return 'morning1' if $time >= 0
&& $time < 600;
return 'evening1' if $time >= 1200
&& $time < 2000;
}
if($day_period_type eq 'default') {
return 'noon' if $time == 1200;
return 'evening1' if $time >= 1200
&& $time < 2000;
return 'morning1' if $time >= 0
&& $time < 600;
return 'night1' if $time >= 2000
&& $time < 2400;
return 'morning2' if $time >= 600
&& $time < 1200;
}
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' => {
'abbreviated' => {
'am' => q{a. m.},
'pm' => q{p. m.},
},
'wide' => {
'am' => q{a. m.},
'pm' => q{p. m.},
},
},
'stand-alone' => {
'abbreviated' => {
'pm' => q{p. m.},
'am' => q{a. m.},
},
'wide' => {
'am' => q{a. m.},
'pm' => q{p. m.},
},
'narrow' => {
'pm' => q{p. m.},
'am' => q{a. m.},
},
},
},
} },
);
has 'eras' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'gregorian' => {
},
} },
);
has 'date_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'gregorian' => {
},
} },
);
has 'time_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'gregorian' => {
},
} },
);
has 'datetime_formats' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'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 { {
} },
);
has 'time_zone_names' => (
is => 'ro',
isa => HashRef,
init_arg => undef,
default => sub { {
'Uruguay' => {
short => {
'daylight' => q#UYST#,
'generic' => q#UYT#,
'standard' => q#UYT#,
},
},
} }
);
no Moo;
1;
# vim: tabstop=4