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-01-18 08:08:50 -05:00
|
|
|
|
function plural(n: number): number {
|
|
|
|
|
let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length;
|
|
|
|
|
if (i === 1 && v === 0) return 1;
|
|
|
|
|
return 5;
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-20 05:00:44 -04:00
|
|
|
|
export default [
|
|
|
|
|
'en-CA',
|
|
|
|
|
[
|
|
|
|
|
['a', 'p'],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['a.m.', 'p.m.'],
|
2017-07-20 05:00:44 -04:00
|
|
|
|
],
|
|
|
|
|
[
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['a.m.', 'p.m.'],
|
2017-07-20 05:00:44 -04:00
|
|
|
|
,
|
|
|
|
|
],
|
|
|
|
|
[
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun.', 'Mon.', 'Tue.', 'Wed.', 'Thu.', 'Fri.', 'Sat.'],
|
2017-07-20 05:00:44 -04:00
|
|
|
|
['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
|
|
|
['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']
|
|
|
|
|
],
|
|
|
|
|
,
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan.', 'Feb.', 'Mar.', 'Apr.', 'May', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', 'Dec.'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2017-07-20 05:00:44 -04:00
|
|
|
|
[
|
|
|
|
|
['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
|
|
|
['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
|
|
|
[
|
|
|
|
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
|
|
|
'October', 'November', 'December'
|
|
|
|
|
]
|
|
|
|
|
],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
[['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 0, [6, 0],
|
2017-07-20 05:00:44 -04:00
|
|
|
|
['y-MM-dd', '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} \'at\' {0}',
|
|
|
|
|
],
|
2017-12-06 09:34:42 -05:00
|
|
|
|
['.', ',', ';', '%', '+', '-', 'e', '×', '‰', '∞', 'NaN', ':'],
|
2018-01-29 15:47:58 -05:00
|
|
|
|
['#,##0.###', '#,##0%', '¤#,##0.00', '#E0'], '$', 'Canadian Dollar',
|
|
|
|
|
{'CAD': ['$'], 'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, plural
|
2017-07-20 05:00:44 -04:00
|
|
|
|
];
|