World.Holiday 1.0.0

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.2 or higher.

dotnet add package World.Holiday --version 1.0.0
NuGet\Install-Package World.Holiday -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="World.Holiday" Version="1.0.0">
  <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 World.Holiday --version 1.0.0
#r "nuget: World.Holiday, 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 World.Holiday as a Cake Addin
#addin nuget:?package=World.Holiday&version=1.0.0

// Install World.Holiday as a Cake Tool
#tool nuget:?package=World.Holiday&version=1.0.0

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

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

Build Status

Product 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.1.3 818 2/23/2020
1.1.2 512 2/20/2020
1.0.0 881 2/19/2019

V.1.0.0