World.Holiday 1.0.0

This project verify holidays national, by locale. Actually the supported locale is:
-pt-Br;
-en-Us.
This package is a update from WorldHolidays.
All fix.
All tests.

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

Requires NuGet 2.2 or higher.

Install-Package World.Holiday -Version 1.0.0
dotnet add package World.Holiday --version 1.0.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: World.Holiday, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
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.
  • 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

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

Release Notes

V.1.0.0

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

Version Downloads Last updated
1.1.3 218 2/23/2020
1.1.2 274 2/20/2020
1.0.0 539 2/19/2019