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

Field Summary
 private floatlatitude
          The inclination of a point on a sphere or spheroid from the equator,
usually specified in the range -90° (90° S) to (90° N).
 private floatlongitude
           
 private OrientationlongitudeOrientation
           
 private TimeZonetimeZone
           

Constructor Summary
EarthLocationImpl(float latitude, float longitude, Orientation longitudeOrientation)
           
EarthLocationImpl(float latitude, Orientation latitudeOrientation, float longitude, Orientation longitudeOrientation)
           

Method Summary
 floatgetLatitude()
           
 OrientationgetLatitudeOrientation()
          Return the latitude's orientation,
 floatgetLongitude()
           
 OrientationgetLongitudeOrientation()
           
 TimeZonegetTimeZone()
          Get the GMT offset.

Field Detail

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
Constructor Detail

EarthLocationImpl

public EarthLocationImpl(float latitude, float longitude, Orientation longitudeOrientation)

EarthLocationImpl

public EarthLocationImpl(float latitude, Orientation latitudeOrientation, float longitude, Orientation longitudeOrientation)
Method Detail

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.

Association Links

to Class org.rr0.im.business.event.circumstance.Orientation

to Class java.util.TimeZone