2017 © Pedro Peláez
 

library business-day

Business day calculation

image

printerous/business-day

Business day calculation

  • Tuesday, September 26, 2017
  • by printerous
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,403 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 20 % Grown

The README.md

Business Day

Date calculation based on business calendars, (*1)

Installation

$ composer require printerous/business-day

Usage

$business = new BusinessDay(new Config());
$today = new DateTime('2017-06-08');
$business->next($today); // '2017-06-09'
$business->next($today, 2); // '2017-06-12'

//Set holidays
$holidays = [
    new DateTime('2017-06-13'),
    new DateTime('2017-06-14')
];
$business = new BusinessDay(new Config($holidays));
$today = new DateTime('2017-06-13');
$business->next($today); // '2017-06-15'

The Versions

26/09 2017

dev-master

9999999-dev

Business day calculation

  Sources   Download

MIT

The Requires

 

The Development Requires

by Handi Wiguna

business day

26/09 2017

1.0.3

1.0.3.0

Business day calculation

  Sources   Download

MIT

The Requires

 

The Development Requires

by Handi Wiguna

business day

12/06 2017

1.0.2

1.0.2.0

Business day calculation

  Sources   Download

MIT

The Requires

 

The Development Requires

by Handi Wiguna

business day

12/06 2017

1.0.1

1.0.1.0

Business day calculation

  Sources   Download

MIT

The Requires

 

The Development Requires

by Handi Wiguna

business day

09/06 2017

1.0.0

1.0.0.0

Business day calculation

  Sources   Download

MIT

The Requires

 

The Development Requires

by Handi Wiguna

business day