DateRangeTest
package |
DateRangeTest |
---|---|
subpackage |
Utility |
constructProvider() : array
array
isContainsProvider() : array
array
periodProvider() : array
array
testConstruct(string|integer|\DateTime $start, string|integer|\DateTime $end, \DateTime $ExpectedStart, \DateTime $ExpectedEnd)
dataProvider |
constructProvider |
---|---|
string|integer|\DateTime
string|integer|\DateTime
\DateTime
\DateTime
testFormat()
testInvalidRange()
testIsContains(string $start, string $end, string $date, boolean $inclusive, boolean $contains)
dataProvider |
isContainsProvider |
---|---|
string
string
string
boolean
boolean
testPeriod(string $start, string $end, string $time, array $dates)
dataProvider |
periodProvider |
---|---|
string
string
string
array