summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2014-04-23 08:46:15 +0000
committerNeil Fuller <nfuller@google.com>2014-04-28 12:35:09 +0000
commit7ebbf2f04e2d9692c4c00d87f4c41d2ed63a5669 (patch)
tree9f605e64f136aae9dcadf01a51cd494796e62a32
parentf7cd4db971faadc5242a5ee8e15d38837c61176c (diff)
downloadlibcore-7ebbf2f04e2d9692c4c00d87f4c41d2ed63a5669.zip
libcore-7ebbf2f04e2d9692c4c00d87f4c41d2ed63a5669.tar.gz
libcore-7ebbf2f04e2d9692c4c00d87f4c41d2ed63a5669.tar.bz2
Revert "Add 1.7 methods to TimeZone / SimpleTimeZone"
This reverts commit 15737123c4b241c331e0090d311afb9631c3cf1b. See the conversation on the original change I45d89cf0f30b49bb77c6dcfdae1a81edea40a2d4 and Ifa0b89debb42a7181f1f5f188ae7175970286adb. Trading this API change for one in FileLock which is more useful. This API change was of questionable value. Change-Id: I8cf977acceededfe3ee13bf91af3fe4f5b84cfc2
-rw-r--r--luni/src/main/java/java/util/TimeZone.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/luni/src/main/java/java/util/TimeZone.java b/luni/src/main/java/java/util/TimeZone.java
index 48f11f9..c024e8d 100644
--- a/luni/src/main/java/java/util/TimeZone.java
+++ b/luni/src/main/java/java/util/TimeZone.java
@@ -403,22 +403,6 @@ public abstract class TimeZone implements Serializable, Cloneable {
}
/**
- * Returns true if this timezone is in a daylight savings time period for or if it will be in at
- * any time in the future.
- *
- * <p>The default implementation is equivalent to:
- * <br />{@code return useDaylightTime() || inDaylightTime(new Date());}
- *
- * <p>See {@link #useDaylightTime()} and {@link #inDaylightTime(Date)} for more information.
- *
- * @since 1.7
- * @hide Until ready for an API update
- */
- public boolean observesDaylightTime() {
- return useDaylightTime() || inDaylightTime(new Date());
- }
-
- /**
* Returns true if {@code time} is in a daylight savings time period for
* this time zone.
*/