datetime-period:datetime期间类型的实现,包括所有可能的关系

时间:2021-03-26 03:54:54
【文件属性】:
文件名称:datetime-period:datetime期间类型的实现,包括所有可能的关系
文件大小:12KB
文件格式:ZIP
更新时间:2021-03-26 03:54:54
temporal-logic interval-algebra datetime-period PHP DateTimePeriod datetime期间类型的实现,用于处理时间间隔。 该库包含由定义上的完整关系集。 有关更多信息,请参见“用法”和“其工作原理”段落。 目录 要求 PHP 7.1以上 安装 $ composer require pwm/datetime-period 用法 创建: $ start = new DateTimeImmutable ( '2010-10-10T10:10:10+00:00' ); $ end = new DateTimeImmutable ( '2011-11-11T11:11:11+00:00' ); $ period = new DateTimePeriod ( $ start , $ end ); // Start and end instants (see the definition of instant under "How it
【文件预览】:
datetime-period-master
----.gitignore(210B)
----.codeclimate.yml(228B)
----infection.json.dist(149B)
----src()
--------Exceptions()
--------DateTimePeriod.php(6KB)
----.travis.yml(776B)
----changelog.md(652B)
----LICENSE(1KB)
----composer.json(1KB)
----tests()
--------unit()
----readme.md(8KB)
----phpunit.xml.dist(658B)

网友评论