mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8222756: Plural support in CompactNumberFormat
Reviewed-by: joehw, rriggs
This commit is contained in:
parent
3000f212f2
commit
730d0ecf19
18 changed files with 1101 additions and 130 deletions
|
@ -117,7 +117,8 @@ public abstract class NumberFormatProvider extends LocaleServiceProvider {
|
|||
* {@code locale} and {@code formatStyle}.
|
||||
*
|
||||
* @implSpec The default implementation of this method throws
|
||||
* {@code UnSupportedOperationException}. Overriding the implementation
|
||||
* {@link java.lang.UnsupportedOperationException
|
||||
* UnsupportedOperationException}. Overriding the implementation
|
||||
* of this method returns the compact number formatter instance
|
||||
* of the given {@code locale} with specified {@code formatStyle}.
|
||||
*
|
||||
|
@ -129,6 +130,8 @@ public abstract class NumberFormatProvider extends LocaleServiceProvider {
|
|||
* one of the locales returned from
|
||||
* {@link java.util.spi.LocaleServiceProvider#getAvailableLocales()
|
||||
* getAvailableLocales()}.
|
||||
* @throws UnsupportedOperationException if the implementation does not
|
||||
* support this method
|
||||
* @return a compact number formatter
|
||||
*
|
||||
* @see java.text.NumberFormat#getCompactNumberInstance(Locale,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue