PHP Class Scalr\Stats\CostAnalytics\Iterator\ChartQuarterlyIterator

This iterator is used to iterate over the date period according to cost analytics data retention policy.
Since: 5.0 (03.12.2014)
Author: Vlad Dobrovolskiy ([email protected])
Inheritance: extends Scalr\Stats\CostAnalytics\Iterator\ChartPeriodIterator
Datei anzeigen Open project: scalr/scalr

Public Methods

Method Description
__construct ( string $start, string $end = null, string $timezone = 'UTC' ) Constructor
current ( ) : Scalr\Stats\CostAnalytics\ChartPointInfo

Method Details

__construct() public method

Constructor
public __construct ( string $start, string $end = null, string $timezone = 'UTC' )
$start string The start date of the period 'YYYY-mm-dd'
$end string optional End date
$timezone string optional Timezone

current() public method

See also: Iterator::current()
public current ( ) : Scalr\Stats\CostAnalytics\ChartPointInfo
return Scalr\Stats\CostAnalytics\ChartPointInfo