SolarCalculator 3.0.1

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.

No packages depend on SolarCalculator.

v3.0.1 Changed license to LGPL Public 3.0. v3.0.0 Changed license to GPL Public 3.0. Added support for multiple frameworks. v2.0.4 Bug Fix - Removed internal date setting by string that was not compatible in all locales - t1m0thyj v2.0.3 Added azimuth calculation - GeorgeHahn v2.0.2 Corrected date portion of SolarNoon date and time. It was showing the correct time but the wrong day. v2.0.1 Change default value for SolarNoon to the ForDate property. 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.0.2 Added XML comments file. v1.0.1 Updated license and project URL's in package.

.NET Framework 4.0

.NET Framework 4.5

.NET Framework 4.6.1

.NET Standard 1.3

.NET Core 3.1

.NET Standard 2.0

.NET Standard 2.1

Version Downloads Last updated
3.6.1 2 09/25/2026
3.6.0 1 09/25/2026
3.5.0 1 09/24/2026
3.4.0 1 09/25/2026
3.3.0 1 09/25/2026
3.2.1 1 09/25/2026
3.2.0 1 09/25/2026
3.1.0 1 09/25/2026
3.0.6 1 09/25/2026
3.0.5 1 09/25/2026
3.0.4 1 09/25/2026
3.0.3 1 09/25/2026
3.0.2 1 09/25/2026
3.0.1 1 09/25/2026
2.0.4 1 09/25/2026
2.0.3 1 09/25/2026
2.0.2 1 09/25/2026
2.0.1 1 09/25/2026
2.0.0 1 09/25/2026
1.0.8 1 09/25/2026