LunarDateCalendar 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LunarDateCalendar --version 1.0.0                
NuGet\Install-Package LunarDateCalendar -Version 1.0.0                
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="LunarDateCalendar" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LunarDateCalendar --version 1.0.0                
#r "nuget: LunarDateCalendar, 1.0.0"                
#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 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:

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

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

  2. Advanced Features: Explore additional functionalities, including custom lunar calendars and date formatting options, to tailor the library to your specific needs.

  3. Error Handling: Understand common errors and exceptions related to date conversions and how to manage them effectively.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
1.0.1 89 10/23/2024
1.0.0 82 10/23/2024