Java 10 - Additional Unicode Language-Tag Extensions


java.util.Locale and related APIs to execute extra Unicode augmentations of BCP 47 language tags.

Support for BCP 47 language labels was at first included Java SE 7, with help for the Unicode area expansion restricted to date-books and numbers. This JEP will actualize a greater amount of the expansions indicated in the most recent LDML particular, in the important JDK classes.

This JEP will include support for the accompanying extra augmentations:
  • cu (money type)
  • fw (first day of week)
  • rg (district override)
  • tz (time zone)

Related APIs which got altered are:

    
    
        
        java.text.DateFormat::get*Instance
java.text.DateFormatSymbols::getInstance
java.text.DecimalFormatSymbols::getInstance
java.text.NumberFormat::get*Instance
java.time.format.DateTimeFormatter::localizedBy
java.time.format.DateTimeFormatterBuilder::getLocalizedDateTimePattern
java.time.format.DecimalStyle::of
java.time.temporal.WeekFields::of
java.util.Calendar::{getFirstDayOfWeek,getMinimalDaysInWeek}
java.util.Currency::getInstance
java.util.Locale::getDisplayName
java.util.spi.LocaleNameProvider
    





javacodegeeks is optimized for learning.© javacodegeeks .
All Right Reserved and you agree to have read and accepted our term and condition