Mohsen.PersianDateControls
1.0.1
dotnet add package Mohsen.PersianDateControls --version 1.0.1
NuGet\Install-Package Mohsen.PersianDateControls -Version 1.0.1
<PackageReference Include="Mohsen.PersianDateControls" Version="1.0.1" />
paket add Mohsen.PersianDateControls --version 1.0.1
#r "nuget: Mohsen.PersianDateControls, 1.0.1"
// Install Mohsen.PersianDateControls as a Cake Addin #addin nuget:?package=Mohsen.PersianDateControls&version=1.0.1 // Install Mohsen.PersianDateControls as a Cake Tool #tool nuget:?package=Mohsen.PersianDateControls&version=1.0.1
How to use
First, install this package:
Install-Package Mohsen.PersianDateControls
Then add this code at the top of your Xaml:
xmlns:persianDateControls="clr-namespace:Mohsen.PersianDateControls;assembly=Mohsen.PersianDateControls"
then paste
<persianDateControls:PersianDatePicker />
Whereever you wanted to use persian calender.
About Perisan calendar
The Persian calendar is a sonar calendar, like Gregorian calendar, but there are some differences. One is that the origins are different, and the Persian calendar's origin is about 621 years after Gregorian calendar's; another one is that Persian calendar's first day of year is March 21; and probably the most important one is that the average length of a Persian calendar year is different from that of a Gregorian calendar: the Persian calendar has 8 leap years (that is a year that has an extra day than normal years) in each 33 years, whereas the Gregorian calendar has 8 leap years in each 32 years. This little difference means that Persian dates cannot be calculated directly from Gregorian dates.
Additional documentation Persian documentation
Thanks to
- Arash Sahebolamri, for making this library at first place.
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.0 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 3.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 | 1,845 | 7/7/2019 |