changeset 2056:e8fa2b2cb1e8

6650730: Lithuanian locale date and number formats mismatch. Reviewed-by: yhuang, peytoia
author yhuang
date Thu, 17 Dec 2009 22:24:08 -0800
parents 946a0a09a477
children e9b09f76d281
files src/share/classes/sun/text/resources/FormatData_lt.java test/sun/text/resources/LocaleData test/sun/text/resources/LocaleDataTest.java
diffstat 3 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/text/resources/FormatData_lt.java	Thu Dec 17 02:28:59 2009 -0800
+++ b/src/share/classes/sun/text/resources/FormatData_lt.java	Thu Dec 17 22:24:08 2009 -0800
@@ -113,7 +113,7 @@
             { "NumberElements",
                 new String[] {
                     ",", // decimal separator
-                    ".", // group (thousands) separator
+                    "\u00a0", // group (thousands) separator
                     ";", // list separator
                     "%", // percent sign
                     "0", // native 0 digit
@@ -133,7 +133,7 @@
                     "HH.mm", // short time pattern
                     "EEEE, yyyy, MMMM d", // full date pattern
                     "EEEE, yyyy, MMMM d", // long date pattern
-                    "yyyy.M.d", // medium date pattern
+                    "yyyy-MM-dd", // medium date pattern
                     "yy.M.d", // short date pattern
                     "{1} {0}" // date-time pattern
                 }
--- a/test/sun/text/resources/LocaleData	Thu Dec 17 02:28:59 2009 -0800
+++ b/test/sun/text/resources/LocaleData	Thu Dec 17 22:24:08 2009 -0800
@@ -5567,3 +5567,11 @@
 # bug 6646611
 FormatData/be_BY/MonthNames/10=\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430
 FormatData/be_BY/MonthAbbreviations/10=\u043b\u0456\u0441
+
+# bug 6645405
+FormatData/hu_HU/NumberPatterns/1=#,##0.## \u00A4;-#,##0.## \u00A4
+
+# bug 6650730
+FormatData/lt/NumberElements/1=\u00a0
+FormatData/lt/DateTimePatterns/6=yyyy-MM-dd
+
--- a/test/sun/text/resources/LocaleDataTest.java	Thu Dec 17 02:28:59 2009 -0800
+++ b/test/sun/text/resources/LocaleDataTest.java	Thu Dec 17 22:24:08 2009 -0800
@@ -32,6 +32,7 @@
  *      6414459 6455680 6498742 6558863 6488119 6547501 6497154 6558856 6481177
  *      6379214 6485516 6486607 4225362 4494727 6533691 6531591 6531593 6570259
  *      6509039 6609737 6610748 6645271 6507067 6873931 6450945 6645268 6646611
+ *      6645405 6650730
  * @summary Verify locale data
  *
  */