Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
timeRange Class Reference

Public Member Functions

 __construct ($range)
 getStartDate ()
 getEndDate ()
 getDays ()

Detailed Description

Helper class to deal with a time range in the range(date1, date2) or previous(n) format


Constructor & Destructor Documentation

__construct ( range)

Constructs the object

Parameters:
string$rangeThe time range public
Returns:
void

Member Function Documentation

getDays ( )

Gets the number of days public

Returns:
int

Gets the end date public

Returns:
int

Gets the start date public

Returns:
int

The documentation for this class was generated from the following file: