Class VCard.Geo

  • Enclosing class:
    VCard

    public static final class VCard.Geo
    extends Object
    Stores information related to the global positioning.
    • Constructor Detail

      • Geo

        public Geo​(double latitude,
                   double longitude)
        Parameters:
        latitude - The latitude.
        longitude - The longitude.
    • Method Detail

      • getLatitude

        public double getLatitude()
        Gets the latitude (represents the location north and south of the equator).
        Returns:
        The latitude.
        See Also:
        setLatitude(double)
      • setLatitude

        public void setLatitude​(double latitude)
        Sets the latitude.
        Parameters:
        latitude - The latitude.
        See Also:
        getLatitude()
      • getLongitude

        public double getLongitude()
        Gets the longitude (represents the location east and west of the prime meridian).
        Returns:
        The longitude.
        See Also:
        setLongitude(double)
      • setLongitude

        public void setLongitude​(double longitude)
        Sets the longitude.
        Parameters:
        longitude - The longitude.
        See Also:
        getLongitude()