Merge "Deprecating FloatMath and Time" into lmp-mr1-dev
This commit is contained in:
@@ -30345,7 +30345,7 @@ package android.text.format {
|
|||||||
method public static java.lang.String formatShortFileSize(android.content.Context, long);
|
method public static java.lang.String formatShortFileSize(android.content.Context, long);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Time {
|
public deprecated class Time {
|
||||||
ctor public Time(java.lang.String);
|
ctor public Time(java.lang.String);
|
||||||
ctor public Time();
|
ctor public Time();
|
||||||
ctor public Time(android.text.format.Time);
|
ctor public Time(android.text.format.Time);
|
||||||
@@ -31716,7 +31716,7 @@ package android.util {
|
|||||||
field public final int mTag;
|
field public final int mTag;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class FloatMath {
|
public deprecated class FloatMath {
|
||||||
method public static float ceil(float);
|
method public static float ceil(float);
|
||||||
method public static float cos(float);
|
method public static float cos(float);
|
||||||
method public static float exp(float);
|
method public static float exp(float);
|
||||||
|
|||||||
@@ -48,7 +48,10 @@ import libcore.util.ZoneInfoDB;
|
|||||||
* <li>Much of the formatting / parsing assumes ASCII text and is therefore not suitable for
|
* <li>Much of the formatting / parsing assumes ASCII text and is therefore not suitable for
|
||||||
* use with non-ASCII scripts.</li>
|
* use with non-ASCII scripts.</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
|
*
|
||||||
|
* @deprecated Use {@link java.util.GregorianCalendar} instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class Time {
|
public class Time {
|
||||||
private static final String Y_M_D_T_H_M_S_000 = "%Y-%m-%dT%H:%M:%S.000";
|
private static final String Y_M_D_T_H_M_S_000 = "%Y-%m-%dT%H:%M:%S.000";
|
||||||
private static final String Y_M_D_T_H_M_S_000_Z = "%Y-%m-%dT%H:%M:%S.000Z";
|
private static final String Y_M_D_T_H_M_S_000_Z = "%Y-%m-%dT%H:%M:%S.000Z";
|
||||||
|
|||||||
@@ -21,7 +21,10 @@ package android.util;
|
|||||||
* versions of Android with a JIT, these are significantly slower than
|
* versions of Android with a JIT, these are significantly slower than
|
||||||
* the equivalent {@code Math} functions, which should be used in preference
|
* the equivalent {@code Math} functions, which should be used in preference
|
||||||
* to these.
|
* to these.
|
||||||
|
*
|
||||||
|
* @deprecated Use {@link java.lang.Math} instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class FloatMath {
|
public class FloatMath {
|
||||||
|
|
||||||
/** Prevents instantiation. */
|
/** Prevents instantiation. */
|
||||||
|
|||||||
Reference in New Issue
Block a user