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 [
|
|
|
|
|
'fil',
|
|
|
|
|
[
|
|
|
|
|
['am', 'pm'],
|
|
|
|
|
['AM', 'PM'],
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['AM', 'PM'],
|
|
|
|
|
,
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['Lin', 'Lun', 'Mar', 'Miy', 'Huw', 'Biy', 'Sab'], ,
|
|
|
|
|
['Linggo', 'Lunes', 'Martes', 'Miyerkules', 'Huwebes', 'Biyernes', 'Sabado'],
|
|
|
|
|
['Li', 'Lu', 'Ma', 'Mi', 'Hu', 'Bi', 'Sa']
|
|
|
|
|
],
|
|
|
|
|
,
|
|
|
|
|
[
|
|
|
|
|
['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'], ,
|
|
|
|
|
[
|
|
|
|
|
'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre',
|
|
|
|
|
'Oktubre', 'Nobyembre', 'Disyembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['E', 'P', 'M', 'A', 'M', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'],
|
|
|
|
|
['Ene', 'Peb', 'Mar', 'Abr', 'May', 'Hun', 'Hul', 'Ago', 'Set', 'Okt', 'Nob', 'Dis'],
|
|
|
|
|
[
|
|
|
|
|
'Enero', 'Pebrero', 'Marso', 'Abril', 'Mayo', 'Hunyo', 'Hulyo', 'Agosto', 'Setyembre',
|
|
|
|
|
'Oktubre', 'Nobyembre', 'Disyembre'
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
['BC', 'AD'],
|
|
|
|
|
,
|
|
|
|
|
],
|
|
|
|
|
0, [6, 0], ['M/d/yy', 'MMM d, y', 'MMMM d, y', 'EEEE, MMMM d, y'],
|
|
|
|
|
['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'],
|
|
|
|
|
[
|
|
|
|
|
'{1}, {0}',
|
|
|
|
|
,
|
|
|
|
|
'{1} \'nang\' {0}',
|
|
|
|
|
],
|
|
|
|
|
['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
|
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '₱', 'Piso ng Pilipinas',
|
|
|
|
|
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,
|
|
|
|
|
f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
|
|
|
|
|
if (v === 0 && (i === 1 || i === 2 || i === 3) ||
|
|
|
|
|
v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) ||
|
|
|
|
|
!(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9))
|
2017-08-23 20:10:48 -04:00
|
|
|
|
return 1;
|
|
|
|
|
return 5;
|
2017-07-20 05:00:44 -04:00
|
|
|
|
}
|
|
|
|
|
];
|