LucyCalendar 1.0.0
dotnet add package LucyCalendar --version 1.0.0
NuGet\Install-Package LucyCalendar -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="LucyCalendar" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LucyCalendar --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LucyCalendar, 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 LucyCalendar as a Cake Addin #addin nuget:?package=LucyCalendar&version=1.0.0 // Install LucyCalendar as a Cake Tool #tool nuget:?package=LucyCalendar&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Lucy Calendar
Lucy Calendar is a powerful .NET package designed to seamlessly integrate Ethiopian calendrical functionality into your applications. With Lucy Calendar, you can effortlessly convert dates between the Gregorian and Ethiopian calendars, customize date formatting, and leverage advanced features for enhanced user experiences.
Features:
- Bidirectional Conversion: LucyCalendar effortlessly converts dates between the Gregorian and Ethiopian calendars, ensuring accurate results regardless of the direction of conversion.
- Service Integration: With a simple service-oriented architecture, LucyCalendar seamlessly integrates into your application's service provider, providing easy access to its robust functionality.
- Date Formatting: LucyCalendar offers flexible date formatting options, allowing you to customize the presentation of dates according to your preferences. Whether you need dates in Ethiopian format (ረቡዕ ፣ ሚያዝያ 02 2016 ዓ/ም) or Geez format (ረቡዕ ፣ ሚያዝያ ፪ ፳፻፲፮ ዓ/ም), LucyCalendar has you covered.
- Extensibility: Built with extensibility in mind, LucyCalendar provides a solid foundation for further customization and expansion, allowing you to tailor its functionality to suit your specific requirements.
Insatllation
Package Manager
Insatall-Package LucyCalendar
CLI
dotnet add package LucyCalendar
Usage
var lucy = serviceProvider.GetService<ILucyCalendar>();
Console.WriteLine(lucy); // 02/08/2016
Console.WriteLine(lucy?.FromDateTime(DateTime.Today)); // 02/08/2016
Console.WriteLine(lucy.ToString(DateFormat.DATE_ETHIOPIAN)); // ረቡዕ ፣ ሚያዝያ 02 2016 ዓ/ም
Console.WriteLine(lucy.ToString(DateFormat.DATE_GEEZ)); // ረቡዕ ፣ ሚያዝያ ፪ ፳፻፲፮ ዓ/ም
Console.WriteLine(DateTime.Now.ToEthiopian()); // 02/08/2016
Contributing
Contributions to Lucy Calendar are welcome! Feel free to submit bug reports, feature requests, or pull requests to help improve the package.
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 is compatible. 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 is compatible. 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
- GeezNet (>= 1.0.1)
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
-
net7.0
- GeezNet (>= 1.0.1)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
-
net8.0
- GeezNet (>= 1.0.1)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
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.0 | 124 | 4/10/2024 |