Tariqa
3.0
|
Public Member Functions | |
__construct ($range) | |
getStartDate () | |
getEndDate () | |
getDays () |
Helper class to deal with a time range in the range(date1, date2) or previous(n) format
__construct | ( | $ | range | ) |
Constructs the object
string | $range | The time range public |
getDays | ( | ) |
Gets the number of days public
getEndDate | ( | ) |
Gets the end date public
getStartDate | ( | ) |
Gets the start date public