$start
$start : \duncan3dc\Dates\DateTime
A representation of a range of dates.
$start : \duncan3dc\Dates\DateTime
$end : \duncan3dc\Dates\DateTime
__construct(\duncan3dc\Dates\DateTime $start, \duncan3dc\Dates\DateTime $end)
Create a new range from 2 dates.
\duncan3dc\Dates\DateTime | $start | The start date of the range |
\duncan3dc\Dates\DateTime | $end | The end date of the range |
getStart() : \duncan3dc\Dates\DateTime
Get the start date of this range.
getEnd() : \duncan3dc\Dates\DateTime
Get the end date of this range.
days() : \duncan3dc\Dates\Iterator\Days
Get an iterator for the days covered by this date range.
months() : \duncan3dc\Dates\Iterator\Months
Get an iterator for the months covered by this date range.
years() : \duncan3dc\Dates\Iterator\Years
Get an iterator for the years covered by this date range.
hours() : \duncan3dc\Dates\Iterator\Hours
Get an iterator for the hours covered by this date range.
minutes() : \duncan3dc\Dates\Iterator\Minutes
Get an iterator for the minutes covered by this date range.
seconds() : \duncan3dc\Dates\Iterator\Seconds
Get an iterator for the seconds covered by this date range.