WorldHolidays 1.0.5
Suggested Alternatives
Additional Details
Please update your package for World.Holiday this package as no longer maintained.
Requires NuGet 2.2 or higher.
dotnet add package WorldHolidays --version 1.0.5
NuGet\Install-Package WorldHolidays -Version 1.0.5
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="WorldHolidays" Version="1.0.5"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WorldHolidays --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WorldHolidays, 1.0.5"
#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 WorldHolidays as a Cake Addin #addin nuget:?package=WorldHolidays&version=1.0.5 // Install WorldHolidays as a Cake Tool #tool nuget:?package=WorldHolidays&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Verify World Holidays
Lib to verify holidays around the world.
Supported Locale:
- pt-Br:
- Holidays:
- Natal;
- Ano Novo;
- Carnaval;
- Sexta-Feira Santa;
- Páscoa;
- Tiradentes;
- Dia do trabalhador;
- Dia das mães;
- Corpus Cristi;
- São joão;
- Dia dos pais;
- Independência do Brasil;
- Dia das Crianças;
- Dia de Finados;
- Proclamação da República;
- Dia da Consciência Negra.
- Holidays:
- en-Us:
- Holidays:
- Christmas;
- New Year's Day;
- Birthday of Martin Luther King Jr.;
- Valentine's Day;
- Washington's Birthday;
- Memorial Day;
- Independence Day;
- Columbus Day;
- Veterans Day;
- Thanksgiving Day.
- Holidays:
Access to repository here
This project was initiated like a open-project to be improved by community. How to use this project:
...some logic
var dataHoliday = new DateTime(2019, 12, 25).TodayIsAHoliday(LocaleHoliday.ptBr);
/*
Returning JSON like this
{
"date": "2019-03-05T00:00:00",
"isHoliday": true,
"nameHoliday": "Carnaval"
}
*/
Status unity test on Travis
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 | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.2
- 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.5 | 914 | 2/20/2019 |
V.1.0.5 fix all errors, unity test passing 100%.