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
|
|
|
|
|
|
|
|
|
|
export default [
|
|
|
|
|
'cs',
|
|
|
|
|
[
|
|
|
|
|
['dop.', 'odp.'],
|
|
|
|
|
,
|
|
|
|
|
],
|
|
|
|
|
,
|
|
|
|
|
[
|
|
|
|
|
['N', 'P', 'Ú', 'S', 'Č', 'P', 'S'], ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
|
|
|
|
['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
|
|
|
|
|
['ne', 'po', 'út', 'st', 'čt', 'pá', 'so']
|
|
|
|
|
],
|
|
|
|
|
,
|
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],
|
|
|
|
|
[
|
|
|
|
|
'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', 'srpna', 'září', 'října',
|
|
|
|
|
'listopadu', 'prosince'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
|
|
|
|
|
['led', 'úno', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro'],
|
|
|
|
|
[
|
|
|
|
|
'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen',
|
|
|
|
|
'listopad', 'prosinec'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['př.n.l.', 'n.l.'],
|
|
|
|
|
['př. n. l.', 'n. l.'],
|
|
|
|
|
],
|
|
|
|
|
1, [6, 0], ['dd.MM.yy', 'd. M. y', 'd. MMMM y', 'EEEE d. MMMM y'],
|
|
|
|
|
['H:mm', 'H:mm:ss', 'H:mm:ss z', 'H:mm:ss zzzz'],
|
|
|
|
|
[
|
|
|
|
|
'{1} {0}',
|
|
|
|
|
,
|
|
|
|
|
,
|
|
|
|
|
],
|
|
|
|
|
[',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'Kč', 'česká koruna',
|
|
|
|
|
function(n: number):
|
2017-08-23 20:10:48 -04:00
|
|
|
|
number {
|
2017-07-20 05:00:44 -04:00
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
2017-08-23 20:10:48 -04:00
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0) return 3;
|
|
|
|
|
if (!(v === 0)) return 4;
|
|
|
|
|
return 5;
|
2017-07-20 05:00:44 -04:00
|
|
|
|
}
|
|
|
|
|
];
|