PageRenderTime 40ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/test/libs/cultures/globalize.culture.ja-JP.js

http://github.com/daffl/jquery.dform
JavaScript | 100 lines | 81 code | 5 blank | 14 comment | 2 complexity | 1c12f893e0e1bf015d850f3e8eff65b0 MD5 | raw file
  1. /*
  2. * Globalize Culture ja-JP
  3. *
  4. * http://github.com/jquery/globalize
  5. *
  6. * Copyright Software Freedom Conservancy, Inc.
  7. * Dual licensed under the MIT or GPL Version 2 licenses.
  8. * http://jquery.org/license
  9. *
  10. * This file was generated by the Globalize Culture Generator
  11. * Translation: bugs found in this file need to be fixed in the generator
  12. */
  13. (function( window, undefined ) {
  14. var Globalize;
  15. if ( typeof require !== "undefined" &&
  16. typeof exports !== "undefined" &&
  17. typeof module !== "undefined" ) {
  18. // Assume CommonJS
  19. Globalize = require( "globalize" );
  20. } else {
  21. // Global variable
  22. Globalize = window.Globalize;
  23. }
  24. Globalize.addCultureInfo( "ja-JP", "default", {
  25. name: "ja-JP",
  26. englishName: "Japanese (Japan)",
  27. nativeName: "日本語 (日本)",
  28. language: "ja",
  29. numberFormat: {
  30. "NaN": "NaN (非数値)",
  31. negativeInfinity: "-∞",
  32. positiveInfinity: "+∞",
  33. percent: {
  34. pattern: ["-n%","n%"]
  35. },
  36. currency: {
  37. pattern: ["-$n","$n"],
  38. decimals: 0,
  39. symbol: "¥"
  40. }
  41. },
  42. calendars: {
  43. standard: {
  44. days: {
  45. names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
  46. namesAbbr: ["日","月","火","水","木","金","土"],
  47. namesShort: ["日","月","火","水","木","金","土"]
  48. },
  49. months: {
  50. names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
  51. namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
  52. },
  53. AM: ["午前","午前","午前"],
  54. PM: ["午後","午後","午後"],
  55. eras: [{"name":"西暦","start":null,"offset":0}],
  56. patterns: {
  57. d: "yyyy/MM/dd",
  58. D: "yyyy'年'M'月'd'日'",
  59. t: "H:mm",
  60. T: "H:mm:ss",
  61. f: "yyyy'年'M'月'd'日' H:mm",
  62. F: "yyyy'年'M'月'd'日' H:mm:ss",
  63. M: "M'月'd'日'",
  64. Y: "yyyy'年'M'月'"
  65. }
  66. },
  67. Japanese: {
  68. name: "Japanese",
  69. days: {
  70. names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
  71. namesAbbr: ["日","月","火","水","木","金","土"],
  72. namesShort: ["日","月","火","水","木","金","土"]
  73. },
  74. months: {
  75. names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
  76. namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
  77. },
  78. AM: ["午前","午前","午前"],
  79. PM: ["午後","午後","午後"],
  80. eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}],
  81. twoDigitYearMax: 99,
  82. patterns: {
  83. d: "gg y/M/d",
  84. D: "gg y'年'M'月'd'日'",
  85. t: "H:mm",
  86. T: "H:mm:ss",
  87. f: "gg y'年'M'月'd'日' H:mm",
  88. F: "gg y'年'M'月'd'日' H:mm:ss",
  89. M: "M'月'd'日'",
  90. Y: "gg y'年'M'月'"
  91. }
  92. }
  93. }
  94. });
  95. }( this ));