org.rr0.im.business.event.circumstance
Class EarthLocationImpl
- public class EarthLocationImpl
- implements EarthLocation
Equatorial coordinates for a location on the terrestrial sphere.
- Author:
- Jérôme Beau
- Version: 4 mai 2003 11:42:52
latitude
private float latitude
- The inclination of a point on a sphere or spheroid from the equator,
usually specified in the range -90° (90° S) to (90° N).
longitude
private float longitude
longitudeOrientation
private Orientation longitudeOrientation
timeZone
private TimeZone timeZone
EarthLocationImpl
public EarthLocationImpl(float latitude, float longitude, Orientation longitudeOrientation)
EarthLocationImpl
public EarthLocationImpl(float latitude, Orientation latitudeOrientation, float longitude, Orientation longitudeOrientation)
getLatitude
public float getLatitude()
getLatitudeOrientation
public Orientation getLatitudeOrientation()
- Return the latitude's orientation,
- Returns: OrientationImpl.SOUTH if latitude < 0, OrientationImpl.NORTH otherwise.
getLongitude
public float getLongitude()
getLongitudeOrientation
public Orientation getLongitudeOrientation()
getTimeZone
public TimeZone getTimeZone()
- Get the GMT offset.
- Returns: a negative, 0 (GMT) or positive value.
to Class org.rr0.im.business.event.circumstance.Orientation
to Class java.util.TimeZone