Documentation of 'com.luckycatlabs.sunrisesunset.dto.Location' Java class
Location
com.luckycatlabs.sunrisesunset.dto

Class Location



  • public class Location
    extends java.lang.Object
    Simple VO class to store latitude/longitude information.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Location(double latitude, double longitude)
      Creates a new instance of Location with the given parameters.
      Location(java.lang.String latitude, java.lang.String longitude)
      Creates a new instance of Location with the given parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.math.BigDecimal getLatitude() 
      java.math.BigDecimal getLongitude() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Location

        public Location(java.lang.String latitude,
                        java.lang.String longitude)
        Creates a new instance of Location with the given parameters.
        Parameters:
        latitude - the latitude, in degrees, of this location. North latitude is positive, south negative.
        longitude - the longitude, in degrees of this location. East longitude is positive, west negative.
      • Location

        public Location(double latitude,
                        double longitude)
        Creates a new instance of Location with the given parameters.
        Parameters:
        latitude - the latitude, in degrees, of this location. North latitude is positive, south negative.
        longitude - the longitude, in degrees, of this location. East longitude is positive, east negative.
    • Method Detail

      • getLatitude

        public java.math.BigDecimal getLatitude()
        Returns:
        the latitude
      • getLongitude

        public java.math.BigDecimal getLongitude()
        Returns:
        the longitude

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.