MediaWiki REL1_40
|
A time range. More...
Public Member Functions | |
__construct ( $start, $end) | |
getDuration () | |
Get the duration of the time range in seconds. | |
Public Attributes | |
float int | $end |
UNIX end time. | |
float int | $start |
UNIX start time. | |
Wikimedia\WRStats\TimeRange::__construct | ( | $start, | |
$end ) |
float | int | $start | |
float | int | $end |
Definition at line 22 of file TimeRange.php.
References Wikimedia\WRStats\TimeRange\$end, and Wikimedia\WRStats\TimeRange\$start.
Wikimedia\WRStats\TimeRange::getDuration | ( | ) |
Get the duration of the time range in seconds.
Definition at line 32 of file TimeRange.php.
References Wikimedia\WRStats\TimeRange\$start.
Referenced by Wikimedia\WRStats\WRStatsReader\internalGetCount().
float int Wikimedia\WRStats\TimeRange::$end |
UNIX end time.
Definition at line 14 of file TimeRange.php.
Referenced by Wikimedia\WRStats\TimeRange\__construct().
float int Wikimedia\WRStats\TimeRange::$start |
UNIX start time.
Definition at line 12 of file TimeRange.php.
Referenced by Wikimedia\WRStats\TimeRange\__construct(), and Wikimedia\WRStats\TimeRange\getDuration().