Deprecate internal Calendar methods.
These methods suffer from a potential integer overflow that can't be
fixed without changing their signature as described at
http://bugs.icu-project.org/trac/ticket/11632.
Since they could be overridden, we need to deprecate them for at least
one release before changing/removing them.
Bug: 30300853
Test: m checkbuild && m offline-sdk-referenceonly-docs
(cherry picked from commit 40a72dc878)
Change-Id: I18f97a7085b69a6d0d95b0cf10f7dfce1077ee9f
This commit is contained in:
@@ -19269,9 +19269,9 @@ package android.icu.util {
|
||||
method protected final void computeGregorianFields(int);
|
||||
method protected int computeGregorianMonthStart(int, int);
|
||||
method protected int computeJulianDay();
|
||||
method protected int computeMillisInDay();
|
||||
method protected deprecated int computeMillisInDay();
|
||||
method protected void computeTime();
|
||||
method protected int computeZoneOffset(long, int);
|
||||
method protected deprecated int computeZoneOffset(long, int);
|
||||
method public int fieldDifference(java.util.Date, int);
|
||||
method protected java.lang.String fieldName(int);
|
||||
method protected static final long floorDivide(long, long);
|
||||
|
||||
@@ -20772,9 +20772,9 @@ package android.icu.util {
|
||||
method protected final void computeGregorianFields(int);
|
||||
method protected int computeGregorianMonthStart(int, int);
|
||||
method protected int computeJulianDay();
|
||||
method protected int computeMillisInDay();
|
||||
method protected deprecated int computeMillisInDay();
|
||||
method protected void computeTime();
|
||||
method protected int computeZoneOffset(long, int);
|
||||
method protected deprecated int computeZoneOffset(long, int);
|
||||
method public int fieldDifference(java.util.Date, int);
|
||||
method protected java.lang.String fieldName(int);
|
||||
method protected static final long floorDivide(long, long);
|
||||
|
||||
@@ -19319,9 +19319,9 @@ package android.icu.util {
|
||||
method protected final void computeGregorianFields(int);
|
||||
method protected int computeGregorianMonthStart(int, int);
|
||||
method protected int computeJulianDay();
|
||||
method protected int computeMillisInDay();
|
||||
method protected deprecated int computeMillisInDay();
|
||||
method protected void computeTime();
|
||||
method protected int computeZoneOffset(long, int);
|
||||
method protected deprecated int computeZoneOffset(long, int);
|
||||
method public int fieldDifference(java.util.Date, int);
|
||||
method protected java.lang.String fieldName(int);
|
||||
method protected static final long floorDivide(long, long);
|
||||
|
||||
Reference in New Issue
Block a user