diff options
author | Fredrik Roubert <roubert@google.com> | 2017-10-13 00:08:57 -0700 |
---|---|---|
committer | Fredrik Roubert <roubert@google.com> | 2017-11-27 19:46:02 +0100 |
commit | bba45d510b68d9e9e66ecac80291f1501264cd30 (patch) | |
tree | 0905628ba56a16ec573aa1b29a6c37e284d9f850 | |
parent | 3bf454d97df81672b7331518992c7c36eb91f734 (diff) | |
download | icu-bba45d510b68d9e9e66ecac80291f1501264cd30.tar.gz |
Remove obsolete patch to deprecate internal Calendar methods.
This reverts commit b78e656948d274bcbb70a607551781005985c74c.
Change-Id: Ie324fa77ea9896d1f3941f8e0c6e25f4f3371991
-rw-r--r-- | tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/util/Calendar.java.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/util/Calendar.java.patch b/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/util/Calendar.java.patch deleted file mode 100644 index ff6a9b12b..000000000 --- a/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/util/Calendar.java.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- android_icu4j/src/main/java/android/icu/util/Calendar.java 2017-08-25 08:53:43.521864844 +0100 -+++ android_icu4j/src/main/java/android/icu/util/Calendar.java 2017-08-25 08:54:12.433921161 +0100 -@@ -4499,8 +4499,6 @@ - * @param date the date and time - * @return true if the given date and time is part of the - * weekend -- * @see #getDayOfWeekType -- * @see #getWeekendTransition - * @see #isWeekend() - */ - public boolean isWeekend(Date date) { -@@ -4513,8 +4511,6 @@ - * this calendar system. - * @return true if the given date and time is part of the - * weekend -- * @see #getDayOfWeekType -- * @see #getWeekendTransition - * @see #isWeekend(Date) - */ - public boolean isWeekend() { -@@ -5475,6 +5471,9 @@ - * value from 0 to 23:59:59.999 inclusive, unless fields are out of - * range, in which case it can be an arbitrary value. This value - * reflects local zone wall time. -+ * @deprecated This method suffers from a potential integer overflow and may be removed or -+ * changed in a future release. See <a href="http://bugs.icu-project.org/trac/ticket/11632"> -+ * ICU ticket #11632</a> for details. - */ - protected int computeMillisInDay() { - // Do the time portion of the conversion. -@@ -5520,6 +5519,9 @@ - * @param millisInDay milliseconds of the time fields; may be out - * or range. - * @return total zone offset (raw + DST) for the given moment -+ * @deprecated This method suffers from a potential integer overflow and may be removed or -+ * changed in a future release. See <a href="http://bugs.icu-project.org/trac/ticket/11632"> -+ * ICU ticket #11632</a> for details. - */ - protected int computeZoneOffset(long millis, int millisInDay) { - int[] offsets = new int[2]; |