Calculates the sunrise and sunset for a given date and location (using geo 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 1.0.8
dotnet add package SolarCalculator --version 1.0.8
<PackageReference Include="SolarCalculator" Version="1.0.8" />
paket add SolarCalculator --version 1.0.8
#r "nuget: SolarCalculator, 1.0.8"
// Install SolarCalculator as a Cake Addin #addin nuget:?package=SolarCalculator&version=1.0.8 // Install SolarCalculator as a Cake Tool #tool nuget:?package=SolarCalculator&version=1.0.8
Added multiple .NET versions.
Removed Angle class and referenced it from NuGet library.
Updated NuGet package only.
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.
Change the type of ForDate to DateTimeOffset due to improper handling of Time Zone. This does not affected code already written against this method.
Corrected a time issue causing the wrong sunrise and sunset times to be returned. All test cases passed.
Added XML comments file
Updated license and project URL's in package.
- Angle (>= 1.0.2)
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.