altruja/workday
Composer 安装命令:
composer require altruja/workday
包简介
README 文档
README
A simple tool to find the next work day.
Usage:
$dayToCheck = new DateTime();
$workday = new \Altruja\Workday($dayToCheck);
$workday->next();
$nextWorkDay = $workday->date;
Different region (Germany is default)
$workday = new \Altruja\Workday($dayToCheck, 'Bavaria');
Include legal workdays commonly considered holidays
$workday = new \Altruja\Workday($dayToCheck, 'Bavaria', false);
Three workdays after the next workday
$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.
统计信息
- 总下载量: 853
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-03-20