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 [
|
|
|
|
|
'de',
|
|
|
|
|
[
|
|
|
|
|
['vm.', 'nm.'],
|
|
|
|
|
['vorm.', 'nachm.'],
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['vorm.', 'nachm.'],
|
|
|
|
|
,
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
|
|
|
['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['S', 'M', 'D', 'M', 'D', 'F', 'S'], ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
|
|
|
|
|
['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'],
|
|
|
|
|
['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.']
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],
|
|
|
|
|
[
|
|
|
|
|
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
|
|
|
|
|
[
|
|
|
|
|
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober',
|
|
|
|
|
'November', 'Dezember'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['v. Chr.', 'n. Chr.'],
|
|
|
|
|
,
|
|
|
|
|
],
|
|
|
|
|
1, [6, 0], ['dd.MM.yy', 'dd.MM.y', 'd. MMMM y', 'EEEE, d. MMMM y'],
|
|
|
|
|
['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'],
|
|
|
|
|
[
|
|
|
|
|
'{1}, {0}',
|
|
|
|
|
,
|
|
|
|
|
'{1} \'um\' {0}',
|
|
|
|
|
],
|
|
|
|
|
[',', '.', ';', '%', '+', '-', 'E', '·', '‰', '∞', 'NaN', ':'],
|
|
|
|
|
['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], '€', 'Euro',
|
|
|
|
|
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;
|
|
|
|
|
return 5;
|
2017-07-20 05:00:44 -04:00
|
|
|
|
}
|
|
|
|
|
];
|