locusenergy / solar-calculations   1.0

MIT License GitHub

Given a latitude and longitude SolarLocation calculates whether or not the sun is up at any given time.

Scala versions: 2.10

Solar Calculations

Calculates sunrise, sunset, solar noon and the solar position for at a given latitude and longitude, based on NOAA's Solar Calculator.

Added Assembly Plugin to create a "jar" distribution, also updated the Scala Version to 2.11.x

####Using with Gradle in an Android project Add the following line to your dependencies section in the build.gradle file for your app in order to use this in your project -

    compile 'com.locusenergy:solar-calculations_2.10:1.0'