- Java 11 and 12:New Features
- Mala Gupta
- 136字
- 2021-07-02 12:27:08
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.
推薦閱讀
- 大學計算機基礎(第二版)
- GAE編程指南
- JavaScript+DHTML語法與范例詳解詞典
- Python從小白到大牛
- Developing Middleware in Java EE 8
- Python之光:Python編程入門與實戰
- Python深度學習原理、算法與案例
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- Regression Analysis with Python
- 實戰Java高并發程序設計(第2版)
- Web編程基礎:HTML5、CSS3、JavaScript(第2版)
- Mastering PowerCLI
- Mastering Leap Motion
- Java從入門到精通(視頻實戰版)
- Building UIs with Wijmo