index.js 1018 B

123456789101112131415161718192021222324252627282930313233
  1. import formatDistance from "./_lib/formatDistance/index.js";
  2. import formatLong from "./_lib/formatLong/index.js";
  3. import formatRelative from "./_lib/formatRelative/index.js";
  4. import localize from "./_lib/localize/index.js";
  5. import match from "./_lib/match/index.js";
  6. /**
  7. * @type {Locale}
  8. * @category Locales
  9. * @summary Japanese locale.
  10. * @language Japanese
  11. * @iso-639-2 jpn
  12. * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu}
  13. * @author Yamagishi Kazutoshi [@ykzts]{@link https://github.com/ykzts}
  14. * @author Luca Ban [@mesqueeb]{@link https://github.com/mesqueeb}
  15. * @author Terrence Lam [@skyuplam]{@link https://github.com/skyuplam}
  16. * @author Taiki IKeda [@so99ynoodles]{@link https://github.com/so99ynoodles}
  17. */
  18. var locale = {
  19. code: 'ja',
  20. formatDistance: formatDistance,
  21. formatLong: formatLong,
  22. formatRelative: formatRelative,
  23. localize: localize,
  24. match: match,
  25. options: {
  26. weekStartsOn: 0
  27. /* Sunday */
  28. ,
  29. firstWeekContainsDate: 1
  30. }
  31. };
  32. export default locale;