Download the PHP package ealore/dateinterval without Composer
On this page you can find all versions of the php package ealore/dateinterval. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ealore/dateinterval
More information about ealore/dateinterval
Files in ealore/dateinterval
Download ealore/dateinterval
More information about ealore/dateinterval
Files in ealore/dateinterval
Vendor ealore
Package dateinterval
Short Description This class extends PHP's \DateInterval class providing weeks+days and negative spec support
License MIT
Package dateinterval
Short Description This class extends PHP's \DateInterval class providing weeks+days and negative spec support
License MIT
Please rate this library. Is it a good library?
Informations about the package dateinterval
Ealore\DateInterval
This is an extension of PHP's \DateInterval with new methods and support for interval specification with both weeks and days at the same time, while in the standard implementation it's possible to use either.
Usage
``
legacy() returns an instance compatible with PHP's \DateInterval
``
getIntervalSpec() returns the interval specification string
``
Installation
`
Changelog
version 1.0.3
- added a check to avoid an 'unknown or bad format' exception
version 1.0.2
- bugfix
version 1.0.1
- added a check to getIntervalSpec()
version 1.0
- added
wproperty - added
legacy()method to fetch an instance of PHP's \DateInterval - added
getIntervalSpec()that returns the interval specification string. If the interval duration is 0, the original interval_spec is returned.
All versions of dateinterval with dependencies
PHP Build Version
Package Version
No informations.
The package ealore/dateinterval contains the following files
Loading the files please wait ...