Package com.maxmind.minfraud.response
Class GeoIp2Location
java.lang.Object
com.maxmind.geoip2.record.AbstractRecord
com.maxmind.geoip2.record.Location
com.maxmind.minfraud.response.GeoIp2Location
public final class GeoIp2Location
extends com.maxmind.geoip2.record.Location
This class contains minFraud response data related to the GeoIP2 Insights
location.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.maxmind.geoip2.record.Location
getAccuracyRadius, getAverageIncome, getLatitude, getLongitude, getMetroCode, getPopulationDensity, getTimeZone
Methods inherited from class com.maxmind.geoip2.record.AbstractRecord
toJson, toString
-
Constructor Details
-
GeoIp2Location
-
GeoIp2Location
public GeoIp2Location()
-
-
Method Details
-
getLocalTime
- Returns:
- The date and time of the transaction in the time zone associated with the IP address. The value is formatted according to RFC 3339. For instance, the local time in Boston might be returned as "2015-04-27T19:17:24-04:00".
-
getLocalDateTime
- Returns:
- The date and time of the transaction in the time zone associated
with the IP address as a
ZonedDateTime
.
-