|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.gps.GeoPosition
public class GeoPosition
Class that represents the geo-position - that includes geo-coordinate and time.
Constructor Summary | |
---|---|
GeoPosition(GpsGeoCoordinate location,
Date time)
Creates a GeoPosition object with location and time. |
Method Summary | |
---|---|
GpsGeoCoordinate |
getLocation()
|
Date |
getTime()
|
static DateFormat |
getTimeFormat()
|
void |
setLocation(GpsGeoCoordinate location)
Sets the geo-coordinate. |
void |
setTime(Date time)
Sets the time. |
static void |
setTimeFormat(DateFormat timeFormat)
Sets time format. |
String |
toString()
Converts GeoPosition to its string representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeoPosition(GpsGeoCoordinate location, Date time)
GeoPosition
object with location and time.
location
- corresponding geo-coordinate.time
- corresponding time.Method Detail |
---|
public static DateFormat getTimeFormat()
public static void setTimeFormat(DateFormat timeFormat)
GeoPosition
is converted to string.
timeFormat
- required time format.public GpsGeoCoordinate getLocation()
public void setLocation(GpsGeoCoordinate location)
location
- the geo-coordinate.public void setTime(Date time)
time
- corresponding time.public Date getTime()
public String toString()
GeoPosition
to its string representation.
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |