SolarCalculator 2.0.4
See the version list below for details.
dotnet add package SolarCalculator --version 2.0.4
NuGet\Install-Package SolarCalculator -Version 2.0.4
<PackageReference Include="SolarCalculator" Version="2.0.4" />
<PackageVersion Include="SolarCalculator" Version="2.0.4" />
<PackageReference Include="SolarCalculator" />
paket add SolarCalculator --version 2.0.4
#r "nuget: SolarCalculator, 2.0.4"
#:package SolarCalculator@2.0.4
#addin nuget:?package=SolarCalculator&version=2.0.4
#tool nuget:?package=SolarCalculator&version=2.0.4
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard1.2 is compatible. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
| .NET Framework | net451 was computed. 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. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
| Universal Windows Platform | uap was computed. uap10.0 was computed. |
| Windows Phone | wpa81 was computed. |
| Windows Store | netcore451 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 1.2
- Angle (>= 2.0.0)
- NETStandard.Library (>= 1.6.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on SolarCalculator:
| Package | Downloads |
|---|---|
|
NetDaemon.Extensions.Scheduling
Scheduling features for NetDaemon. Please see https://github.com/net-daemon/netdaemon. |
|
|
ColorTurbine.Framework
LED animation/information display framework |
|
|
CasCap.Api.Knx
.NET client library for KNX building automation — connects via KNXnet/IP tunnelling or routing, monitors group-address telegrams, and fans events out to configurable sinks. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on SolarCalculator:
| Repository | Stars |
|---|---|
|
net-daemon/netdaemon
An application daemon for Home Assistant written in .NET
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.6.1 | 2,736 | 4/15/2026 |
| 3.6.0 | 46,739 | 11/15/2025 |
| 3.5.0 | 119,159 | 11/14/2024 |
| 3.4.0 | 39,590 | 9/11/2024 |
| 3.3.0 | 188,467 | 5/30/2023 |
| 3.2.1 | 35,273 | 12/2/2022 |
| 3.2.0 | 1,641 | 12/2/2022 |
| 3.1.0 | 147,740 | 1/15/2022 |
| 3.0.6 | 140,224 | 8/4/2020 |
| 3.0.5 | 33,745 | 4/17/2020 |
| 3.0.4 | 1,901 | 4/16/2020 |
| 3.0.3 | 1,983 | 4/14/2020 |
| 3.0.2 | 1,933 | 4/14/2020 |
| 3.0.1 | 4,281 | 1/25/2020 |
| 2.0.4 | 53,172 | 10/17/2018 |
| 2.0.3 | 4,168 | 7/10/2018 |
| 2.0.2 | 12,618 | 10/2/2017 |
| 2.0.1 | 2,598 | 10/1/2017 |
| 2.0.0 | 2,881 | 9/29/2017 |
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.02 Added XML comments file.
v1.0.1 Updated license and project URL's in package.