azuyalabs / yasumi

The easy PHP Library for calculating holidays
https://www.yasumi.dev
Other
1.05k stars 155 forks source link

Clarification on intent of USA Provider "Federal Holidays" #102

Closed crossan007 closed 6 years ago

crossan007 commented 6 years ago

As mentioned in #100 - the USA provider is intended for "Federal Holidays." Is this by design, or by happenstance?

I'd like to understand the scope/intent of the various providers and how to best leverage (and likely contribute to) this project. Specifically with intent of using in https://github.com/ChurchCRM/CRM/pull/4098

stelgenhof commented 6 years ago

The goal of this library is to cover as many holidays/observances for each provider as possible.

The starting point for most holiday providers is the official (regulated/recognized by the local government) list of holidays. This usually fits the needs of most users of this library. However, any other type of holiday can be added of course :)

Not sure if you have seen it, there is a nice documentation website of Yasumi: https://azuyalabs.github.io/yasumi/ It has some recipes how to use it and also some background information that might be interesting.

Cheers! Sacha