public class TaipGpsLocation
extends java.lang.Object
It should be noted that TAIP only provides seconds into the day. The epoch time is determined by using the current system time to determine the day. This means that if processing old data for a different day that could bet an epoch time for the wrong day.
Modifier and Type | Method and Description |
---|---|
static TaipGpsLocation |
get(java.lang.String s)
Processes the TAIP string and returns corresponding TaipGpsLocation
object
|
java.lang.String |
getAgeStr() |
long |
getFixEpochTime() |
java.lang.String |
getGpsSourceStr() |
float |
getHeading() |
double |
getLatitude() |
double |
getLongitude() |
float |
getSpeedMetersPerSecond() |
static void |
main(java.lang.String[] args)
Just for debugging
|
java.lang.String |
toString() |
public static TaipGpsLocation get(java.lang.String s)
s
- The TAIP stringpublic java.lang.String toString()
toString
in class java.lang.Object
public long getFixEpochTime()
public double getLatitude()
public double getLongitude()
public float getHeading()
public float getSpeedMetersPerSecond()
public java.lang.String getGpsSourceStr()
public java.lang.String getAgeStr()
public static void main(java.lang.String[] args)
args
-