mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4422 keep default timezone in synch with JDK's
X-SVN-Rev: 18832
This commit is contained in:
parent
d7c162a233
commit
f8cf9e1ae1
2 changed files with 5 additions and 3 deletions
|
@ -816,6 +816,7 @@ public class TestFmwk extends AbstractTestLog {
|
|||
pw.println(" remainder of the target as above. Target matching is case-insensitive.");
|
||||
pw.println();
|
||||
pw.println(" If multiple targets are provided, each is executed in order.");
|
||||
pw.flush();
|
||||
}
|
||||
|
||||
public static String hex(char ch) {
|
||||
|
|
|
@ -15,6 +15,7 @@ import java.util.Locale;
|
|||
import java.util.MissingResourceException;
|
||||
|
||||
import com.ibm.icu.impl.ICUResourceBundle;
|
||||
import com.ibm.icu.impl.TimeZoneAdapter;
|
||||
import com.ibm.icu.impl.ZoneMeta;
|
||||
import com.ibm.icu.text.SimpleDateFormat;
|
||||
|
||||
|
@ -709,11 +710,11 @@ abstract public class TimeZone implements Serializable, Cloneable {
|
|||
defaultZone = tz;
|
||||
// Keep java.util.TimeZone default in sync so java.util.Date
|
||||
// can interoperate with com.ibm.icu.util classes.
|
||||
//java.util.TimeZone jdkZone = null;
|
||||
java.util.TimeZone jdkZone = null;
|
||||
if (tz != null) {
|
||||
//jdkZone = TimeZoneAdapter.wrap(tz);
|
||||
jdkZone = TimeZoneAdapter.wrap(tz);
|
||||
}
|
||||
//java.util.TimeZone.setDefault(jdkZone);
|
||||
java.util.TimeZone.setDefault(jdkZone);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue