PHP Class business\DateRange

Author: Márk Sági-Kazár ([email protected])
Inheritance: implements IteratorAggregate
Show file Open project: florianv/business Class Usage Examples

Public Methods

Method Description
__construct ( DateTime $startDate, DateTime $endDate ) Creates a new DateTime period.
getIterator ( )

Method Details

__construct() public method

Creates a new DateTime period.
public __construct ( DateTime $startDate, DateTime $endDate )
$startDate DateTime
$endDate DateTime

getIterator() public method

public getIterator ( )