Merge "Deprecating FloatMath and Time" into lmp-mr1-dev

This commit is contained in:
Neil Fuller
2014-10-24 08:10:37 +00:00
committed by Android (Google) Code Review
3 changed files with 8 additions and 2 deletions

View File

@@ -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);

View File

@@ -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";

View File

@@ -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. */