Releases: kylekatarnls/business-day
Releases · kylekatarnls/business-day
1.5.1: Fix PHPDoc for methods with common closure
Fix PHPDoc for methods with common closure
1.5.0: Allow to enable multiple classes
Allow to enable multiple classes in one call
1.4.1: Add generator boot option
Add boot option to types generator
1.4.0: Types for IDE auto-completion
Added types files for IDE auto-completion
1.3.2: Fix "Day of the veterans" name
Fix "Day of the veterans" name
1.3.1: Handle alternative calendars in a generic way
Handle alternative calendars in a generic way
1.3.0: Handle expressions
- Add 356 regional holidays lists of 143 countries
- Add holidays from other calendars
- Add diffInBusinessDays() method
- Add getBusinessDaysInMonth() method
- Add getMonthBusinessDays() method
- Add getHolidaysRegion() method
- Handle julian dates
- Handle odd, leap and non-leap years
- Handle Hijri dates
- Handle jewish calendar
- Handle chinese calendar
- Handle solstice and equinox
1.2.0: Added bank holidays for the GB
Added bank holidays for the GB
1.1.1: Optimize PSR-4 development autoload
Optimize PSR-4 autoload when --optimize-autoloader
option is not in use
1.1.0: Holiday names and observed holidays
- Support array holidays definition
- Identify holidays with string identifiers
- Added getHolidayName
- Added setHolidayName
- Added isObservedHoliday
- Added observeHoliday / observeHolidays
- Added unobserveHoliday / unobserveHolidays
- Added observeAllHolidays
- Added unobserveAllHolidays