summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2014-04-28 12:35:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-04-28 12:35:32 +0000
commitf84885a4cb1e50442776c84105d113cb4d9008a8 (patch)
tree9f605e64f136aae9dcadf01a51cd494796e62a32
parentf7cd4db971faadc5242a5ee8e15d38837c61176c (diff)
parent7ebbf2f04e2d9692c4c00d87f4c41d2ed63a5669 (diff)
downloadlibcore-f84885a4cb1e50442776c84105d113cb4d9008a8.zip
libcore-f84885a4cb1e50442776c84105d113cb4d9008a8.tar.gz
libcore-f84885a4cb1e50442776c84105d113cb4d9008a8.tar.bz2
Merge "Revert "Add 1.7 methods to TimeZone / SimpleTimeZone""
-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.
*/