php-value-object/date-time-range
最新稳定版本:v0.1
Composer 安装命令:
composer require php-value-object/date-time-range
包简介
DateTimeRange value object
README 文档
README
This repository provides DateTiemRange ValueObject implementation for PHP that is easy to use and easily allow your classes to
depend on DateTimeRange object instead of having both $startDateTime and $endDateTime.
Install
You can install this package via composer
composer require php-value-object/date-time-range
Example
$dateTimeRange = new DateTimeRange( new \DateTimeImmutable('2015-01-01'), new \DateTimeImmutable('2015-03-25') );
Licence
MIT
Contributing
Any contributions are welcome
Building & Development
The easiest way how to develop is to git clone and run make
git clone git@github.com:PHPValueObject/DateTimeRange.git date_time_range
cd date_time_range
make
统计信息
- 总下载量: 3.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-05