< prev index next >

src/java.base/share/classes/sun/text/resources/FormatData.java

Print this page

        

@@ -77,10 +77,11 @@
  * of the copyright holder.
  */
 
 package sun.text.resources;
 
+import java.util.List;
 import sun.util.resources.ParallelListResourceBundle;
 
 public class FormatData extends ParallelListResourceBundle {
     /**
      * Overrides ListResourceBundle

@@ -794,10 +795,48 @@
                     "\u2030",
                     "\u221e",
                     "NaN",
                 }
             },
+            { "short.CompactNumberPatterns",
+                List.of(
+                    "",
+                    "",
+                    "",
+                    "0K",
+                    "00K",
+                    "000K",
+                    "0M",
+                    "00M",
+                    "000M",
+                    "0B",
+                    "00B",
+                    "000B",
+                    "0T",
+                    "00T",
+                    "000T"
+                )
+            },
+            { "long.CompactNumberPatterns",
+                List.of (
+                    "",
+                    "",
+                    "",
+                    "0 thousand",
+                    "00 thousand",
+                    "000 thousand",
+                    "0 million",
+                    "00 million",
+                    "000 million",
+                    "0 billion",
+                    "00 billion",
+                    "000 billion",
+                    "0 trillion",
+                    "00 trillion",
+                    "000 trillion"
+                )
+            },
             { "TimePatterns",
                 new String[] {
                     "h:mm:ss a z",        // full time pattern
                     "h:mm:ss a z",        // long time pattern
                     "h:mm:ss a",          // medium time pattern
< prev index next >