roaf.util.GPSpoint extends GeoPoint implements GPSinfo

Note: In the Tutorial and Book the class resides in In the actual ROAF it was moved to roaf.gps

The GPSpoint can be used to create an instance of an GPSinfo implementing object.
In addition to the interface specification the class adds a naturalTimeZone,
which calculates the purely geometric offset to Greenwhich Mean Time (GMT).
Actual time zones do not precisely reflect the offset of the sun.
They are aligned with political borders and would require a large lookup table for every geographic location.


The GPSpoint main method demonstrates how the Date is influenced by the computers local settings.
The universal time is actually hidden in the Date class and can be converted to local times by specifying a TimeZone.


 « GPSinfoJava APIGPStrace »