DateRange

Class DateRange

package

Default

Methods

DateRange constructor.

__construct(\DateTime $begin, \DateTime $end) 

Arguments

$begin

\DateTime

Begin of date range.

$end

\DateTime

End of date range.

Returns the begin of the date range.

begin() : \DateTime

Response

\DateTime

Begin of date range.

Named constructor of date range.

create(\DateTime $begin, \DateTime $end) : \DateRange
static

Arguments

$begin

\DateTime

Begin of date range.

$end

\DateTime

End of date range.

Response

\DateRange

New instance.

Returns the end of the date range.

end() : \DateTime

Response

\DateTime

End of date range.

Properties

begin

begin : \DateTime
var

Type(s)

\DateTime

end

end : \DateTime
var

Type(s)

\DateTime