官术网_书友最值得收藏!

Additional Unicode language-tag extensions

This feature enhances java.util.Locale and its related API to implement an additional Unicode extension of the BCP 47 language tag. Support for the BCP 47 language was added to JDK 7. However, in JDK 7, support for the Unicode locale extension was limited to calendar and numbers. This feature allowed for the addition of an extension to a locale. JDK 9 added support for ca and nu tags, from BCP 47.

JDK 10 added support for the following extensions:

  • cu (currency type)
  • fw (first day of the week)
  • rg (region over)
When you specify a locale extension, such as a number or currency type, it is not guaranteed that the underlying platform supports the requested extension. Unicode tag extensions are a language feature, and they can be used directly by the developers.
主站蜘蛛池模板: 兴仁县| 洪江市| 沽源县| 徐汇区| 同德县| 公主岭市| 绥阳县| 定南县| 东乡族自治县| 湖州市| 出国| 姚安县| 沙湾县| 晋江市| 商洛市| 双辽市| 比如县| 湖南省| 准格尔旗| 桐梓县| 连山| 富锦市| 九江县| 彝良县| 旌德县| 南安市| 平南县| 塔城市| 呼伦贝尔市| 东至县| 马边| 红桥区| 介休市| 元朗区| 准格尔旗| 瑞丽市| 黄梅县| 灌南县| 奉新县| 高邮市| 丁青县|