DateRange
in package
Object for holding date ranges.
Table of Contents
Properties
Methods
- __construct() : mixed
- getLengthInDays() : int
- Returns the number of days between start and end.
Properties
$end
public
string
$end
$start
public
string
$start
Methods
__construct()
public
__construct(string $start, string $end) : mixed
Parameters
- $start : string
- $end : string
getLengthInDays()
Returns the number of days between start and end.
public
getLengthInDays() : int