SolarCalculator 1.0.8

.NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package SolarCalculator --version 1.0.8
NuGet\Install-Package SolarCalculator -Version 1.0.8
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SolarCalculator" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SolarCalculator --version 1.0.8
#r "nuget: SolarCalculator, 1.0.8"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

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 Calculations are based on the book "Astronomical Algorithms" by Jean Meeus.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Store netcore451 is compatible. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SolarCalculator:

Package Downloads

LED animation/information display framework

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on SolarCalculator:

Repository Stars
HomeGenie, the programmable automation intelligence
Version Downloads Last updated
3.3.0 16 5/30/2023
3.2.1 14,165 12/2/2022
3.2.0 244 12/2/2022
3.1.0 61,177 1/15/2022
3.0.6 104,363 8/4/2020
3.0.5 29,908 4/17/2020
3.0.4 438 4/16/2020
3.0.3 451 4/14/2020
3.0.2 436 4/14/2020
3.0.1 2,390 1/25/2020
2.0.4 50,027 10/17/2018
2.0.3 2,321 7/10/2018
2.0.2 5,971 10/2/2017
2.0.1 878 10/1/2017
2.0.0 996 9/29/2017
1.0.8 54,666 7/27/2014

v 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.