\duncan3dc\DatesRange

A representation of a range of dates.

Summary

Methods
Properties
Constants
__construct()
getStart()
getEnd()
days()
months()
years()
hours()
minutes()
seconds()
asString()
No public properties found
No constants found
No protected methods found
$start
$end
N/A
No private methods found
No private properties found
N/A

Properties

Methods

__construct()

__construct(\duncan3dc\Dates\DateTime  $start, \duncan3dc\Dates\DateTime  $end) 

Create a new range from 2 dates.

Parameters

\duncan3dc\Dates\DateTime $start

The start date of the range

\duncan3dc\Dates\DateTime $end

The end date of the range

asString()

asString() : string

Get the range represented in a human readable format.

Returns

string