Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Detect timezone from latitude/longitude pairs in java

License

Notifications You must be signed in to change notification settings

moodysalem/LatLongToTimezoneMaven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Central Build Status LatLongToTimezoneMaven

This repository deploys LatLongToTimezone to Maven

Tests

Tests are run against a file from geonames.org referenced in this SO question

If at least 95% of the test cases succeed, the build passes. Last checked was 98%. Visit travis to see logs for test failures

Usage

  1. Add the maven dependency to your project

     <dependency>
         <groupId>com.moodysalem</groupId>
         <artifactId>LatLongToTimezoneMaven</artifactId>
         <version>{see-above-for-version!}</version>
     </dependency>
    
  2. Call the static methods on the TimezoneMapper class

    TimezoneMapper.tzNameAt(double lat, double lng);

About

Detect timezone from latitude/longitude pairs in java

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages