LatLongToTimezoneMaven
Detect timezone from latitude/longitude pairs in java
Install / Use
/learn @moodysalem/LatLongToTimezoneMavenREADME
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
-
Add the maven dependency to your project
<dependency> <groupId>com.moodysalem</groupId> <artifactId>LatLongToTimezoneMaven</artifactId> <version>{see-above-for-version!}</version> </dependency> -
Call the static methods on the TimezoneMapper class
TimezoneMapper.tzNameAt(double lat, double lng);
