LunarDateCalendar 1.0.0
See the version list below for details.
dotnet add package LunarDateCalendar --version 1.0.0
NuGet\Install-Package LunarDateCalendar -Version 1.0.0
<PackageReference Include="LunarDateCalendar" Version="1.0.0" />
paket add LunarDateCalendar --version 1.0.0
#r "nuget: LunarDateCalendar, 1.0.0"
// Install LunarDateCalendar as a Cake Addin #addin nuget:?package=LunarDateCalendar&version=1.0.0 // Install LunarDateCalendar as a Cake Tool #tool nuget:?package=LunarDateCalendar&version=1.0.0
This section provides comprehensive guidelines on how to integrate and utilize the Lunar Calendar library within your .NET applications. The library facilitates the conversion between Gregorian and lunar dates, enabling developers to easily incorporate lunar date functionalities into their projects.
To get started, follow these steps:
- Installation: Use NuGet Package Manager or the command line to install the Lunar Calendar library.
bash
dotnet add package LunarCalendar
DateTime today = DateTime.Now; var timeZone = 7; // change location var lunarDate1 = CalendarGetLunarDate.GetLunarCurrentDate(timeZone, today.Day, today.Month, today.Year));
//return full information: Day, NameDay, Month, NameMonth, Year, NameYear, DayofWeek. TimeZone
var lunarDate2 = CalendarGetLunarDate.GetLunarDateByDatetime(today));
//is briefly displayed for the current lunar day.
Basic Usage: Learn how to create instances of lunar calendar dates and perform conversions. Example code snippets illustrate the methods for calculating lunar months, days, and significant lunar events.
Advanced Features: Explore additional functionalities, including custom lunar calendars and date formatting options, to tailor the library to your specific needs.
Error Handling: Understand common errors and exceptions related to date conversions and how to manage them effectively.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.