2017-07-20 05:00:44 -04:00
|
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// THIS CODE IS GENERATED - DO NOT MODIFY
|
|
|
|
|
// See angular/tools/gulp-tasks/cldr/extract.js
|
|
|
|
|
|
2018-04-09 08:15:00 -04:00
|
|
|
|
const u = undefined;
|
|
|
|
|
|
2018-01-18 08:08:50 -05:00
|
|
|
|
function plural(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length,
|
|
|
|
|
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
|
|
|
|
|
if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11)) return 1;
|
|
|
|
|
if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&
|
|
|
|
|
!(i % 100 >= 12 && i % 100 <= 14) ||
|
|
|
|
|
f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 &&
|
|
|
|
|
!(f % 100 >= 12 && f % 100 <= 14))
|
|
|
|
|
return 3;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-20 05:00:44 -04:00
|
|
|
|
export default [
|
2018-04-09 08:15:00 -04:00
|
|
|
|
'hr', [['AM', 'PM'], u, u], u,
|
2017-07-20 05:00:44 -04:00
|
|
|
|
[
|
|
|
|
|
['N', 'P', 'U', 'S', 'Č', 'P', 'S'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],
|
|
|
|
|
['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
|
|
|
|
|
['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['n', 'p', 'u', 's', 'č', 'p', 's'], ['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub'],
|
|
|
|
|
['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
|
|
|
|
|
['ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],
|
|
|
|
|
['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'],
|
|
|
|
|
[
|
|
|
|
|
'siječnja', 'veljače', 'ožujka', 'travnja', 'svibnja', 'lipnja', 'srpnja', 'kolovoza',
|
|
|
|
|
'rujna', 'listopada', 'studenoga', 'prosinca'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1.', '2.', '3.', '4.', '5.', '6.', '7.', '8.', '9.', '10.', '11.', '12.'],
|
|
|
|
|
['sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro'],
|
|
|
|
|
[
|
2018-01-18 08:04:41 -05:00
|
|
|
|
'siječanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz',
|
|
|
|
|
'rujan', 'listopad', 'studeni', 'prosinac'
|
2017-07-20 05:00:44 -04:00
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[['pr.n.e.', 'AD'], ['pr. Kr.', 'po. Kr.'], ['prije Krista', 'poslije Krista']], 1, [6, 0],
|
|
|
|
|
['dd. MM. y.', 'd. MMM y.', 'd. MMMM y.', 'EEEE, d. MMMM y.'],
|
2018-04-09 08:15:00 -04:00
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss (zzzz)'], ['{1} {0}', u, '{1} \'u\' {0}', u],
|
2017-07-20 05:00:44 -04:00
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'HRK', 'hrvatska kuna', {
|
2018-04-09 08:15:00 -04:00
|
|
|
|
'AUD': [u, '$'],
|
|
|
|
|
'BRL': [u, 'R$'],
|
|
|
|
|
'CAD': [u, '$'],
|
|
|
|
|
'CNY': [u, '¥'],
|
|
|
|
|
'EUR': [u, '€'],
|
|
|
|
|
'GBP': [u, '£'],
|
|
|
|
|
'HKD': [u, '$'],
|
|
|
|
|
'ILS': [u, '₪'],
|
|
|
|
|
'INR': [u, '₹'],
|
|
|
|
|
'JPY': [u, '¥'],
|
|
|
|
|
'KRW': [u, '₩'],
|
|
|
|
|
'MXN': [u, '$'],
|
|
|
|
|
'NZD': [u, '$'],
|
|
|
|
|
'TWD': [u, 'NT$'],
|
|
|
|
|
'USD': [u, '$'],
|
|
|
|
|
'VND': [u, '₫'],
|
|
|
|
|
'XCD': [u, '$'],
|
2019-11-07 13:01:44 -05:00
|
|
|
|
'XPF': [],
|
|
|
|
|
'XXX': []
|
2018-01-29 15:47:58 -05:00
|
|
|
|
},
|
|
|
|
|
plural
|
2017-07-20 05:00:44 -04:00
|
|
|
|
];
|