lib/Date/Manip/Lang/catalan.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Date/Manip/DM5abbrevs.pm ↑ Summary lib/Date/Manip/Lang/danish.pm »
1 package Date::Manip::Lang::catalan;
2 # Copyright (c) 2003-2026 Sullivan Beck. All rights reserved.
3 # This program is free software; you can redistribute it and/or modify it
4 # under the same terms as Perl itself.
5  
6 ########################################################################
7 ########################################################################
8  
9 1 require 5.010000;
10  
11 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 1 our($VERSION);
16 1 $VERSION='7.00';
17  
18 1 our($Language,@Encodings,$LangName,$YearAdded);
19 1 @Encodings = qw(utf-8 iso-8859-1 perl);
20 1 $LangName = "Catalan";
21 1 $YearAdded = 2003;
22  
23 1 $Language = {
24 _special_rules => { },
25 ampm => [['AM', 'A.M.', 'de la matinada'], ['PM', 'P.M.', 'de la tarda']],
26 at => ['a les', 'a', 'al'],
27 day_abb => [
28 ['Dll', 'dl.', 'dl'],
29 ['Dmt', 'Dim', 'dt.', 'dt'],
30 ['Dmc', 'Dic', 'dc.', 'dc'],
31 ['Dij', 'dj.', 'dj'],
32 ['Div', 'dv.', 'dv'],
33 ['Dis', 'ds.', 'ds'],
34 ['Diu', 'dg.', 'dg'],
35 ],
36 day_char => [
37 ['Dl', 'L'],
38 ['Dm', 'M', 't'],
39 ['Dc', 'X', 'c'],
40 ['Dj', 'J'],
41 ['Dv', 'V'],
42 ['Ds', 'S'],
43 ['Du', 'U', 'g'],
44 ],
45 day_name => [
46 ['Dilluns'],
47 ['Dimarts'],
48 ['Dimecres'],
49 ['Dijous'],
50 ['Divendres'],
51 ['Dissabte'],
52 ['Diumenge'],
53 ],
54 each => ['cadascuna', 'cada', 'cadascun'],
55 fields => [
56 ['anys', 'a', 'an', 'any'],
57 ['mes', 'm', 'me', 'ms'],
58 ['setmanes', 's', 'se', 'set', 'setm', 'setmana'],
59 ['dies', 'd', 'dia'],
60 ['hores', 'h', 'ho', 'hora'],
61 ['minuts', 'mn', 'min', 'minut'],
62 ['segons', 's', 'seg', 'segon'],
63 ],
64 last => ['darrer', 'darrera', 'ultim', 'últim', 'ultima', 'última', 'passat'],
65 mode => [['exactament', 'approximadament'], ['empresa']],
66 month_abb => [
67 ['Gen', 'gen.'],
68 ['Feb', 'febr', 'feb.', 'febr.'],
69 ['Mar', 'mar.'],
70 ['Abr', 'abr.'],
71 ['Mai', 'mai.'],
72 ['Jun', 'jun.'],
73 ['Jul', 'jul.'],
74 ['Ago', 'ag', 'ago.', 'ag.'],
75 ['Set', 'set.'],
76 ['Oct', 'oct.'],
77 ['Nov', 'nov.'],
78 ['Des', 'Dec', 'des.', 'dec.'],
79 ],
80 month_name => [
81 ['Gener'],
82 ['Febrer'],
83 ['Març', 'Marc'],
84 ['Abril'],
85 ['Maig'],
86 ['Juny'],
87 ['Juliol'],
88 ['Agost'],
89 ['Setembre'],
90 ['Octubre'],
91 ['Novembre'],
92 ['Desembre'],
93 ],
94 nextprev => [['proper', 'seguent', 'següent'], ['passat', 'proppassat', 'anterior']],
95 nth => [
96 ['1er', 'primer', 'un'],
97 ['2n', 'segon', 'dos'],
98 ['3r', 'tercer', 'tres'],
99 ['4t', 'quart', 'quatre'],
100 ['5è', '5e', 'cinque', 'Cinquè', 'cinc'],
101 ['6è', '6e', 'sise', 'sisè', 'sis'],
102 ['7è', '7e', 'sete', 'setè', 'set'],
103 ['8è', '8e', 'vuite', 'vuitè', 'vuit'],
104 ['9è', '9e', 'nove', 'novè', 'nou'],
105 ['10è', '10e', 'dese', 'desè', 'deu'],
106 ['11è', '11e', 'onze', 'onzè'],
107 ['12è', '12e', 'dotze', 'dotzè'],
108 ['13è', '13e', 'tretze', 'tretzè'],
109 ['14è', '14e', 'catorze', 'catorzè'],
110 ['15è', '15e', 'quinze', 'quinzè'],
111 ['16è', '16e', 'setze', 'setzè'],
112 ['17è', '17e', 'dissete', 'dissetè', 'disset'],
113 ['18è', '18e', 'divuite', 'divuitè', 'divuit'],
114 ['19è', '19e', 'dinove', 'dinovèe', 'dinou'],
115 ['20è', '20e', 'vinte', 'vintè', 'vint'],
116 ['21è', '21e', 'vint-i-une', 'vint-i-unè', 'vint-i-u'],
117 ['22è', '22e', 'vint-i-dose', 'vint-i-dosè', 'vint-i-dos'],
118 ['23è', '23e', 'vint-i-trese', 'vint-i-tresè', 'vint-i-tres'],
119 ['24è', '24e', 'vint-i-quatre', 'vint-i-quatrè'],
120 ['25è', '25e', 'vint-i-cinque', 'vint-i-cinquè'],
121 ['26è', '26e', 'vint-i-sise', 'vint-i-sisè'],
122 ['27è', '27e', 'vint-i-sete', 'vint-i-setè'],
123 ['28è', '28e', 'vint-i-vuite', 'vint-i-vuitè'],
124 ['29è', '29e', 'vint-i-nove', 'vint-i-novè'],
125 ['30è', '30e', 'trente', 'trentè', 'trenta'],
126 ['31è', '31e', 'trenta-une', 'trenta-unè', 'trenta-u'],
127 ['32è', '32e', 'trenta-dos'],
128 ['33è', '33e', 'trenta-tres'],
129 ['34è', '34e', 'trenta-quatre'],
130 ['35è', '35e', 'trenta-cinc'],
131 ['36è', '36e', 'trenta-sis'],
132 ['37è', '37e', 'trenta-set', 'trenta-setè', 'trenta-sete'],
133 ['38è', '38e', 'trenta-vuit'],
134 ['39è', '39e', 'trenta-nou'],
135 ['40è', '40e', 'quaranta'],
136 ['41è', '41e', 'quaranta-un'],
137 ['42è', '42e', 'quaranta-dos'],
138 ['43è', '43e', 'quaranta-tres'],
139 ['44è', '44e', 'quaranta-quatre'],
140 ['45è', '45e', 'quaranta-cinc'],
141 ['46è', '46e', 'quaranta-sis'],
142 ['47è', '47e', 'quaranta-set'],
143 ['48è', '48e', 'quaranta-vuit', 'quaranta-vuitena'],
144 ['49è', '49e', 'quaranta-nou'],
145 ['50è', '50e', 'cinquantè', 'cinquante'],
146 ['51è', '51e', 'cinquanta-un'],
147 ['52è', '52e', 'cinquanta-dos'],
148 ['53è', '53e', 'cinquanta-tres'],
149 ],
150 of => ['de', 'd\''],
151 offset_date => {
152 'abans d\'ahir' => '-0:0:0:2:0:0:0',
153 'ahir' => '-0:0:0:1:0:0:0',
154 'dema' => '+0:0:0:1:0:0:0',
155 'dema passat' => '+0:0:0:2:0:0:0',
156 'demà' => '+0:0:0:1:0:0:0',
157 'demà passat' => '+0:0:0:2:0:0:0',
158 'idag' => '0:0:0:0:0:0:0',
159 },
160 offset_time => { ara => '0:0:0:0:0:0:0', avui => '0:0:0:0:0:0:0' },
161 on => ['el'],
162 times => { migdia => '12:00:00', mitjanit => '00:00:00' },
163 when => [['fa'], ['d\'aqui a', 'd\'aquí a', 'mes tard', 'més tard']],
164 };
165  
166 1 1;
« lib/Date/Manip/DM5abbrevs.pm ↑ Summary lib/Date/Manip/Lang/danish.pm »