mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-5108 updates for the release and test
X-SVN-Rev: 19367
This commit is contained in:
parent
a93931d6c4
commit
6987784650
4 changed files with 20 additions and 18 deletions
|
@ -18,10 +18,10 @@ h3.doc { background: #CCCCFF }
|
|||
<body style="background-color: rgb(255, 255, 255);" lang="EN-US"
|
||||
link="#0000ff" vlink="#800080">
|
||||
<h2>International Components for Unicode for Java (ICU4J)</h2>
|
||||
<h3>Read Me for ICU4J 3.4.3</h3>
|
||||
<h3>Read Me for ICU4J 3.4.4</h3>
|
||||
<hr size="2" width="100%">
|
||||
<p><b>Release Date</b><br>
|
||||
Feb 24, 2006<br>
|
||||
March 24, 2006<br>
|
||||
</p>
|
||||
<p><b>Note:</b> This is an update release of ICU4J 3.4. It contains bug fixes
|
||||
and adds implementations of inherited API, but does not introduce new API
|
||||
|
@ -200,8 +200,8 @@ current and complete version of this support is always found in ICU4J.
|
|||
<li><a href="#News_deprecated">No Deprecated Warnings for Draft APIs</a></li>
|
||||
<li><a href="#News_Fixes">Fixes</a></li>
|
||||
</ul>
|
||||
<p>A complete report of the API changes between version 3.4.3 and
|
||||
version 3.4.2 of ICU4J can be found
|
||||
<p>A complete report of the API changes between version 3.4.4 and
|
||||
version 3.4.3 of ICU4J can be found
|
||||
<a href="APIChangeReport.html">here</a>. This report is generated by a
|
||||
tool and has some limitations, the most notable of which is that it
|
||||
does not properly reflect the effect of class inheritance
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/***************************************************************************************
|
||||
*
|
||||
* Copyright (C) 1996-2005, International Business Machines
|
||||
* Copyright (C) 1996-2006, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*/
|
||||
|
||||
|
@ -16,10 +16,11 @@
|
|||
|
||||
package com.ibm.icu.dev.test.format;
|
||||
|
||||
import com.ibm.icu.text.*;
|
||||
import com.ibm.icu.text.DateFormat;
|
||||
import com.ibm.icu.text.SimpleDateFormat;
|
||||
import com.ibm.icu.util.ULocale;
|
||||
import java.text.FieldPosition;
|
||||
import java.text.ParseException;
|
||||
import java.util.Locale;
|
||||
import java.util.Random;
|
||||
import java.util.Date;
|
||||
|
||||
|
@ -53,12 +54,12 @@ public class IntlTestDateFormat extends com.ibm.icu.dev.test.TestFmwk {
|
|||
new IntlTestDateFormat().run(args);
|
||||
}
|
||||
|
||||
public void TestLocale() {
|
||||
localeTest(Locale.getDefault(), "Default Locale");
|
||||
public void TestULocale() {
|
||||
localeTest(ULocale.getDefault(), "Default Locale");
|
||||
}
|
||||
|
||||
// This test does round-trip testing (format -> parse -> format -> parse -> etc.) of DateFormat.
|
||||
public void localeTest(final Locale locale, final String localeName) {
|
||||
public void localeTest(final ULocale locale, final String localeName) {
|
||||
int timeStyle, dateStyle;
|
||||
|
||||
// For patterns including only time information and a timezone, it may take
|
||||
|
@ -225,7 +226,7 @@ public class IntlTestDateFormat extends com.ibm.icu.dev.test.TestFmwk {
|
|||
}
|
||||
|
||||
public void TestAvailableLocales() {
|
||||
final Locale[] locales = DateFormat.getAvailableLocales();
|
||||
final ULocale[] locales = DateFormat.getAvailableULocales();
|
||||
long count = locales.length;
|
||||
logln("" + count + " available locales");
|
||||
if (locales != null && count != 0) {
|
||||
|
@ -239,9 +240,11 @@ public class IntlTestDateFormat extends com.ibm.icu.dev.test.TestFmwk {
|
|||
else errln("********** FAIL: Zero available locales or null array pointer");
|
||||
}
|
||||
|
||||
/* This test is too slow; we disable it for now
|
||||
public void TestMonster() {
|
||||
final Locale[] locales = DateFormat.getAvailableLocales();
|
||||
if (isQuick()) {
|
||||
logln("Skipping test (use -e for exhaustive)");
|
||||
}
|
||||
final ULocale[] locales = DateFormat.getAvailableULocales();
|
||||
long count = locales.length;
|
||||
if (locales != null && count != 0) {
|
||||
for (int i=0; i<count; ++i) {
|
||||
|
@ -256,7 +259,6 @@ public class IntlTestDateFormat extends com.ibm.icu.dev.test.TestFmwk {
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
//eof
|
||||
|
|
|
@ -2,10 +2,10 @@ Manifest-Version: 1.0
|
|||
|
||||
Name: com/ibm/icu
|
||||
Specification-Title: Modularized ICU for Java
|
||||
Specification-Version: 3.4.3
|
||||
Specification-Version: 3.4.4
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: Modularized ICU for Java
|
||||
Implementation-Version: 3.4.3
|
||||
Implementation-Version: 3.4.4
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: Copyright (c) 2000-2006, International Business Machines Corporation and others. All Rights Reserved.
|
||||
|
|
|
@ -2,10 +2,10 @@ Manifest-Version: 1.0
|
|||
|
||||
Name: com/ibm/icu/
|
||||
Specification-Title: ICU for Java
|
||||
Specification-Version: 3.4.3
|
||||
Specification-Version: 3.4.4
|
||||
Specification-Vendor: ICU
|
||||
Implementation-Title: ICU for Java
|
||||
Implementation-Version: 3.4.3
|
||||
Implementation-Version: 3.4.4
|
||||
Implementation-Vendor: IBM Corporation
|
||||
Implementation-Vendor-Id: com.ibm
|
||||
Copyright-Info: Copyright (c) 2000-2006, International Business Machines Corporation and others. All Rights Reserved.
|
||||
|
|
Loading…
Add table
Reference in a new issue