Свойство | Тип | Описание | |
---|---|---|---|
$endDate | DateTime | ||
$startDate | DateTime |
Метод | Описание | |
---|---|---|
__construct ( DateTime $startDate, DateTime $endDate ) | ||
create ( DateTime $startDate, $endDate ) : |
||
days ( integer $numberOfDays ) : |
public __construct ( DateTime $startDate, DateTime $endDate ) | ||
$startDate | DateTime | |
$endDate | DateTime |
public static create ( DateTime $startDate, $endDate ) : |
||
$startDate | DateTime | |
Результат |