12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /**
  2. * @license
  3. * Copyright Google Inc. All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. // THIS CODE IS GENERATED - DO NOT MODIFY
  9. // See angular/tools/gulp-tasks/cldr/extract.js
  10. function plural(n) {
  11. var v = n.toString().replace(/^[^.]*\.?/, '').length, f = parseInt(n.toString().replace(/^[^.]*\.?/, ''), 10) || 0;
  12. if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 ||
  13. v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19)
  14. return 0;
  15. if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) ||
  16. !(v === 2) && f % 10 === 1)
  17. return 1;
  18. return 5;
  19. }
  20. export default [
  21. 'prg',
  22. [
  23. ['AM', 'PM'],
  24. ,
  25. ],
  26. ,
  27. [
  28. ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
  29. ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
  30. ,
  31. ],
  32. ,
  33. [
  34. ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  35. ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
  36. ],
  37. ,
  38. [
  39. ['BCE', 'CE'],
  40. ,
  41. ],
  42. 1, [6, 0], ['y-MM-dd', 'y MMM d', 'y MMMM d', 'y MMMM d, EEEE'],
  43. ['HH:mm', 'HH:mm:ss', 'HH:mm:ss z', 'HH:mm:ss zzzz'],
  44. [
  45. '{1} {0}',
  46. ,
  47. ,
  48. ],
  49. ['.', ',', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'],
  50. ['#,##0.###', '#,##0%', '¤ #,##0.00', '#E0'], , plural
  51. ];
  52. //# sourceMappingURL=prg.js.map