mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8176841: Additional Unicode Language-Tag Extensions
8189134: New system properties for the default Locale extensions 8190918: Retrieve the region specific data regardless of language in locale 8191349: Add a new method in j.t.f.DateTimeFormatter to reflect Unicode extensions Reviewed-by: scolebourne, lancea, rriggs, rgoel, nishjain
This commit is contained in:
parent
3246c46f41
commit
f065141ddc
55 changed files with 3631 additions and 890 deletions
|
@ -97,6 +97,13 @@ import sun.util.locale.provider.LocaleServiceProviderPool;
|
|||
* DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, Locale.FRANCE);
|
||||
* }</pre>
|
||||
* </blockquote>
|
||||
*
|
||||
* <p>If the specified locale contains "ca" (calendar), "rg" (region override),
|
||||
* and/or "tz" (timezone) <a href="../util/Locale.html#def_locale_extension">Unicode
|
||||
* extensions</a>, the calendar, the country and/or the time zone for formatting
|
||||
* are overridden. If both "ca" and "rg" are specified, the calendar from the "ca"
|
||||
* extension supersedes the implicit one from the "rg" extension.
|
||||
*
|
||||
* <p>You can use a DateFormat to parse also.
|
||||
* <blockquote>
|
||||
* <pre>{@code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue