Home Reference Source

packages/remote-environment/src/es6/Intl.js

  1. /**
  2. * Copyright 2017 Moshe Simantov
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16.  
  17. /* eslint-disable prettier/prettier */
  18.  
  19. export default {
  20. 'Intl': Intl,
  21. 'Intl.Collator': Intl.Collator,
  22. 'Intl.Collator.prototype': Intl.Collator.prototype,
  23. 'Intl.Collator.prototype.resolvedOptions': Intl.Collator.prototype.resolvedOptions,
  24. 'Intl.Collator.supportedLocalesOf': Intl.Collator.supportedLocalesOf,
  25. 'Intl.DateTimeFormat': Intl.DateTimeFormat,
  26. 'Intl.DateTimeFormat.prototype': Intl.DateTimeFormat.prototype,
  27. // 'Intl.DateTimeFormat.prototype.formatToParts': Intl.DateTimeFormat.prototype.formatToParts,
  28. 'Intl.DateTimeFormat.prototype.resolvedOptions': Intl.DateTimeFormat.prototype.resolvedOptions,
  29. 'Intl.DateTimeFormat.supportedLocalesOf': Intl.DateTimeFormat.supportedLocalesOf,
  30. // 'Intl.getCanonicalLocales': Intl.getCanonicalLocales,
  31. 'Intl.NumberFormat': Intl.NumberFormat,
  32. 'Intl.NumberFormat.prototype': Intl.NumberFormat.prototype,
  33. 'Intl.NumberFormat.prototype.resolvedOptions': Intl.NumberFormat.prototype.resolvedOptions,
  34. 'Intl.NumberFormat.supportedLocalesOf': Intl.NumberFormat.supportedLocalesOf,
  35. };