Loading location/java/android/location/Location.java +6 −1 Original line number Diff line number Diff line Loading @@ -170,6 +170,9 @@ public class Location implements Parcelable { * Converts a coordinate to a String representation. The outputType * may be one of FORMAT_DEGREES, FORMAT_MINUTES, or FORMAT_SECONDS. * The coordinate must be a valid double between -180.0 and 180.0. * This conversion is performed in a method that is dependent on the * default locale, and so is not guaranteed to round-trip with * {@link #convert(String)}. * * @throws IllegalArgumentException if coordinate is less than * -180.0, greater than 180.0, or is not a number. Loading Loading @@ -217,7 +220,9 @@ public class Location implements Parcelable { /** * Converts a String in one of the formats described by * FORMAT_DEGREES, FORMAT_MINUTES, or FORMAT_SECONDS into a * double. * double. This conversion is performed in a locale agnostic * method, and so is not guaranteed to round-trip with * {@link #convert(double, int)}. * * @throws NullPointerException if coordinate is null * @throws IllegalArgumentException if the coordinate is not Loading Loading
location/java/android/location/Location.java +6 −1 Original line number Diff line number Diff line Loading @@ -170,6 +170,9 @@ public class Location implements Parcelable { * Converts a coordinate to a String representation. The outputType * may be one of FORMAT_DEGREES, FORMAT_MINUTES, or FORMAT_SECONDS. * The coordinate must be a valid double between -180.0 and 180.0. * This conversion is performed in a method that is dependent on the * default locale, and so is not guaranteed to round-trip with * {@link #convert(String)}. * * @throws IllegalArgumentException if coordinate is less than * -180.0, greater than 180.0, or is not a number. Loading Loading @@ -217,7 +220,9 @@ public class Location implements Parcelable { /** * Converts a String in one of the formats described by * FORMAT_DEGREES, FORMAT_MINUTES, or FORMAT_SECONDS into a * double. * double. This conversion is performed in a locale agnostic * method, and so is not guaranteed to round-trip with * {@link #convert(double, int)}. * * @throws NullPointerException if coordinate is null * @throws IllegalArgumentException if the coordinate is not Loading