/[zanavi_public1]/navit/navit/android/src/com/luckycatlabs/sunrisesunset/dto/Location2.java
ZANavi

Diff of /navit/navit/android/src/com/luckycatlabs/sunrisesunset/dto/Location2.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 30 Revision 31
21/** 21/**
22 * Simple VO class to store latitude/longitude information. 22 * Simple VO class to store latitude/longitude information.
23 */ 23 */
24public class Location2 24public class Location2
25{ 25{
26 private BigDecimal latitude; 26 private BigDecimal latitude;
27 private BigDecimal longitude; 27 private BigDecimal longitude;
28 28
29 /** 29 /**
30 * Creates a new instance of <code>Location</code> with the given parameters. 30 * Creates a new instance of <code>Location</code> with the given parameters.
31 * 31 *
32 * @param latitude 32 * @param latitude
33 * the latitude, in degrees, of this location. North latitude is positive, south negative. 33 * the latitude, in degrees, of this location. North latitude is positive, south negative.
34 * @param longitude 34 * @param longitude
35 * the longitude, in degrees of this location. East longitude is positive, west negative. 35 * the longitude, in degrees of this location. East longitude is positive, west negative.
36 */ 36 */
37 public Location2(String latitude, String longitude) 37 public Location2(String latitude, String longitude)
38 { 38 {
39 this.latitude = new BigDecimal(latitude); 39 this.latitude = new BigDecimal(latitude);
40 this.longitude = new BigDecimal(longitude); 40 this.longitude = new BigDecimal(longitude);

Legend:
Removed from v.30  
changed lines
  Added in v.31

   
Visit the ZANavi Wiki