Skip to content

Releases: iansltx/BusinessDays

1.4.0

21 Feb 18:01
Compare
Choose a tag to compare
  • Add support for negative day input on-construct (FastForwarder(-2) == Rewinder(2))
  • Make constructor visibility public; supports same arguments as createWithDays(); useful for factories/DI containers
  • Move createWithDays() static method out of SkipWhenTrait

1.3.0

18 Feb 06:12
Compare
Choose a tag to compare
  • Add bulk filter import/export to FastForwarder
  • Add Rewinder for iterating backward from, rather than forward from, a given date
  • Add monthAndDaysOnDayOfWeek filter for, e.g., December 26 as long as it's a Friday
  • Move non-algorithmic functionality into SkipWhenTrait for use by other potential classes
  • Fix exec() return type when argument subclasses \DateTime or \DateTimeImmutable

1.2.0

17 Feb 01:54
Compare
Choose a tag to compare
  • Add isGoodFriday static filter
  • Use userland Easter date calculation to allow isEasterMonday and isGoodFriday to work on HHVM

1.1.0

17 Feb 00:05
Compare
Choose a tag to compare
  • Add isEasterMonday static filter
  • Add standalone autoloader

1.0.0

15 Feb 08:40
Compare
Choose a tag to compare

Initial release