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 Details

  • Method Details

    • getLocalTime

      public String 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

      public ZonedDateTime getLocalDateTime()
      Returns:
      The date and time of the transaction in the time zone associated with the IP address as a ZonedDateTime.