diff --git a/icu4j/src/com/ibm/icu/impl/JDKTimeZone.java b/icu4j/src/com/ibm/icu/impl/JDKTimeZone.java index 2a5de44b71e..021f0e731e5 100644 --- a/icu4j/src/com/ibm/icu/impl/JDKTimeZone.java +++ b/icu4j/src/com/ibm/icu/impl/JDKTimeZone.java @@ -64,8 +64,11 @@ public class JDKTimeZone extends TimeZone { * Constructs a JDKTimeZone given a java.util.TimeZone reference * which must not be null. * @param tz the time zone to wrap + * + * @internal + * @deprecated This is an internal API and should not be used by client code. */ - protected JDKTimeZone(java.util.TimeZone tz) { + public JDKTimeZone(java.util.TimeZone tz) { zone = tz; super.setID(zone.getID()); } diff --git a/icu4j/src/com/ibm/icu/impl/TimeZoneAdapter.java b/icu4j/src/com/ibm/icu/impl/TimeZoneAdapter.java index 5e91f524c07..b0198302356 100644 --- a/icu4j/src/com/ibm/icu/impl/TimeZoneAdapter.java +++ b/icu4j/src/com/ibm/icu/impl/TimeZoneAdapter.java @@ -32,6 +32,9 @@ import java.util.Date; */ public class TimeZoneAdapter extends java.util.TimeZone { + // Generated by serialver from JDK 1.4.1_01 + static final long serialVersionUID = -2040072218820018557L; + /** * The contained com.ibm.icu.util.TimeZone object. Must not be null. * We delegate all methods to this object. @@ -58,8 +61,11 @@ public class TimeZoneAdapter extends java.util.TimeZone { /** * Constructs an adapter for a com.ibm.icu.util.TimeZone object. + * + * @internal + * @deprecated This is an internal and should not be used by client code. */ - private TimeZoneAdapter(TimeZone zone) { + public TimeZoneAdapter(TimeZone zone) { this.zone = zone; super.setID(zone.getID()); }