Calculates the sunrise and sunset for a given date and location (using Geographic Coordinates). This library uses the method outlined NOAA Solar Calculations Day spreadsheet found at http://www.esrl.noaa.gov/gmd/grad/solcalc/calcdetails.html. Calculations are based on the book "Astronomical Algorithms" by Jean Meeus.
See the version list below for details.
Install-Package SolarCalculator -Version 2.0.0
dotnet add package SolarCalculator --version 2.0.0
<PackageReference Include="SolarCalculator" Version="2.0.0" />
paket add SolarCalculator --version 2.0.0
v2.0.0 Converted to .NET Standard/Moved to GitHub. Changed license to GNU Public 3.0.
v1.0.8 Added multiple .NET versions.
v1.0.7 Removed Angle class and referenced it from NuGet library.
v1.0.6 Updated NuGet package only.
v1.0.5 Added a class/data type called Angle to handle computations and conversions. This class inherently behaves as a type double so that pre-existing code is not broken.
v1.0.4 Change the type of ForDate to DateTimeOffset due to improper handling of Time Zone. This does not affected code already written against this method.
v1.0.3 Corrected a time issue causing the wrong sunrise and sunset times to be returned. All test cases passed.
v1.02 Added XML comments file.
v1.0.1 Updated license and project URL's in package.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SolarCalculator:
LED animation/information display framework
This package is not used by any popular GitHub repositories.