2017 © Pedro Peláez
 

library workday

image

altruja/workday

  • Thursday, March 20, 2014
  • by altruja
  • Repository
  • 2 Watchers
  • 2 Stars
  • 66 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 2 % Grown

The README.md

Workday

A simple tool to find the next work day., (*1)

Usage:, (*2)

$dayToCheck = new DateTime();

$workday = new \Altruja\Workday($dayToCheck);
$workday->next();

$nextWorkDay = $workday->date;

Different region (Germany is default), (*3)

$workday = new \Altruja\Workday($dayToCheck, 'Bavaria');

Include legal workdays commonly considered holidays, (*4)

$workday = new \Altruja\Workday($dayToCheck, 'Bavaria', false);

Three workdays after the next workday, (*5)

$workday = new \Altruja\Workday($dayToCheck);

$workday->next(3);

$thirdWorkDay = $workday->date;

Note: If the supplied day already is a work day, that day is considered the next work day., (*6)

The Versions

20/03 2014

dev-master

9999999-dev

  Sources   Download

The Requires

 

20/03 2014

0.1.1

0.1.1.0

  Sources   Download

The Requires

 

20/03 2014

0.1.0

0.1.0.0

  Sources   Download

The Requires