summaryrefslogtreecommitdiff
path: root/android_icu4j
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2017-02-13 19:14:36 +0000
committerTobias Thierer <tobiast@google.com>2017-03-06 19:50:21 +0000
commitacd6f18d4e5d180434340b5065c849de3d10df9d (patch)
treeaed529f76bbee63e1f41e384775affdd280eb1a8 /android_icu4j
parent7fcef2fd3ee05df03d01e48489bfa43a3da6e57d (diff)
downloadicu-acd6f18d4e5d180434340b5065c849de3d10df9d.tar.gz
ICU TimeZone: publish TIMEZONE_* constants
These are necessary to use the ICU TimeZone.getTimeZone(String, int) API that was published in Android N. Bug: 29318728 Test: Treehugger build succeeds Test: srcgen/generate_android_icu4j.sh Change-Id: Ica974c1abf0c408ef758d68febe8adb2b5777a1e
Diffstat (limited to 'android_icu4j')
-rw-r--r--android_icu4j/src/main/java/android/icu/util/TimeZone.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/android_icu4j/src/main/java/android/icu/util/TimeZone.java b/android_icu4j/src/main/java/android/icu/util/TimeZone.java
index a31b24885..55305dd8a 100644
--- a/android_icu4j/src/main/java/android/icu/util/TimeZone.java
+++ b/android_icu4j/src/main/java/android/icu/util/TimeZone.java
@@ -121,16 +121,12 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezable<Tim
/**
* <strong>[icu]</strong> A time zone implementation type indicating ICU's own TimeZone used by
- * <code>getTimeZone</code>, <code>setDefaultTimeZoneType</code>
- * and <code>getDefaultTimeZoneType</code>.
- * @hide unsupported on Android
+ * <code>getTimeZone</code>.
*/
public static final int TIMEZONE_ICU = 0;
/**
* <strong>[icu]</strong> A time zone implementation type indicating the {@link java.util.TimeZone}
- * used by <code>getTimeZone</code>, <code>setDefaultTimeZoneType</code>
- * and <code>getDefaultTimeZoneType</code>.
- * @hide unsupported on Android
+ * used by <code>getTimeZone</code>.
*/
public static final int TIMEZONE_JDK = 1;