TithiTools 1.0.1
See the version list below for details.
dotnet add package TithiTools --version 1.0.1
NuGet\Install-Package TithiTools -Version 1.0.1
<PackageReference Include="TithiTools" Version="1.0.1" />
paket add TithiTools --version 1.0.1
#r "nuget: TithiTools, 1.0.1"
// Install TithiTools as a Cake Addin #addin nuget:?package=TithiTools&version=1.0.1 // Install TithiTools as a Cake Tool #tool nuget:?package=TithiTools&version=1.0.1
TithiTools
TithiTools is a versatile and precise .NET Core library for calculating Tithis, an essential aspect of Hindu and Vedic lunar calendar systems. Easily determine lunar phases and auspicious times for religious and cultural events. Flexible, efficient, and open source.
What is a Tithi?
A Tithi is a fundamental concept in Hindu lunar calendars. It represents a specific lunar day or phase of the moon and is a key element in determining auspicious times for religious and cultural events.
The image above illustrates the 12-degree angle of separation between the moon and sun, which is used in Tithi calculations.
Installation:
TithiTools is available as a nuget package from nuget.org
dotnet add package TithiTools
Examples
You can use the TithiTools
library in your C# application to calculate Tithis for a specific date range.
// Calculate Tithis within a date range
var tithis = TithiTools.Calculator.FindTithiInDateRange(startDate, endDate);
// Filter Tithis by specific indices
var filteredTithis = TithiTools.Calculator.FindTithiInDateRange(startDate, endDate, indexFilter: new HashSet<int> { 11, 26 });
// Set custom precision
var precisedTithis = TithiTools.Calculator.FindTithiInDateRange(startDate, endDate, precision: 0.0001d);
// Calculate angle between the sun and moon at specific time
var angle = TithiTools.Calculator.GetAngle(dateTime);
Contributing:
Contributions to the "TithiTools" library are welcome! Feel free to submit issues, feature requests, or pull requests to help improve the library.
License:
This project is licensed under the GNU License.
Acknowledgments:
Special thanks to the CoordinateSharp library for its contribution to celestial calculations in "TithiTools".
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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- CoordinateSharp (>= 2.19.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.