WorldHolidays 1.0.5

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.

Requires NuGet 2.2 or higher.

Install-Package WorldHolidays -Version 1.0.5
dotnet add package WorldHolidays --version 1.0.5
<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.

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.5 fix all errors, unity test passing 100%.

  • .NETCoreApp 2.2

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.5 120 2/20/2019