Skip to content

Releases: kylekatarnls/business-day

1.5.1: Fix PHPDoc for methods with common closure

03 Apr 21:40
Compare
Choose a tag to compare

Fix PHPDoc for methods with common closure

1.5.0: Allow to enable multiple classes

03 Apr 10:44
ddb7ec3
Compare
Choose a tag to compare

Allow to enable multiple classes in one call

1.4.1: Add generator boot option

02 Apr 17:44
Compare
Choose a tag to compare

Add boot option to types generator

1.4.0: Types for IDE auto-completion

02 Apr 15:43
6fbdf87
Compare
Choose a tag to compare

Added types files for IDE auto-completion

1.3.2: Fix "Day of the veterans" name

29 Mar 08:45
Compare
Choose a tag to compare

Fix "Day of the veterans" name

1.3.1: Handle alternative calendars in a generic way

18 Mar 14:49
2dc8e19
Compare
Choose a tag to compare

Handle alternative calendars in a generic way

1.3.0: Handle expressions

17 Mar 20:37
2dbda73
Compare
Choose a tag to compare
  • 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

06 Feb 17:15
Compare
Choose a tag to compare

Added bank holidays for the GB

1.1.1: Optimize PSR-4 development autoload

24 Jan 13:33
b40bb1e
Compare
Choose a tag to compare

Optimize PSR-4 autoload when --optimize-autoloader option is not in use

1.1.0: Holiday names and observed holidays

05 Nov 15:39
d32504a
Compare
Choose a tag to compare
  • 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