am 07ff2f72: Merge "Deprecating FloatMath and Time" into lmp-mr1-dev
* commit '07ff2f72c8ae14415d784ddeb3944c5a9b188a83': Deprecating FloatMath and Time
This commit is contained in:
@@ -30345,7 +30345,7 @@ package android.text.format {
|
||||
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();
|
||||
ctor public Time(android.text.format.Time);
|
||||
@@ -31716,7 +31716,7 @@ package android.util {
|
||||
field public final int mTag;
|
||||
}
|
||||
|
||||
public class FloatMath {
|
||||
public deprecated class FloatMath {
|
||||
method public static float ceil(float);
|
||||
method public static float cos(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
|
||||
* use with non-ASCII scripts.</li>
|
||||
* </ul>
|
||||
*
|
||||
* @deprecated Use {@link java.util.GregorianCalendar} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
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_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
|
||||
* the equivalent {@code Math} functions, which should be used in preference
|
||||
* to these.
|
||||
*
|
||||
* @deprecated Use {@link java.lang.Math} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public class FloatMath {
|
||||
|
||||
/** Prevents instantiation. */
|
||||
|
||||
Reference in New Issue
Block a user