Aeon\Calendar\Gregorian\TimePeriods

View at GitHub ( 1.0 )
Introduction

Class synopis

class final TimePeriods implements \Countable, \IteratorAggregate, \Traversable
{
private __construct ( \Iterator $periods )
public static fromArray ( TimePeriod $periods ) : self
public static fromIterator ( TimePeriodsIterator $timePeriodsIterator ) : self
public all ( void ) : array
public each ( callable $iterator ) : void
public map ( callable $iterator ) : array
public filter ( callable $iterator ) : self
public count ( void ) : int
public getIterator ( void ) : \Traversable
public gaps ( void ) : self
public sort ( void ) : self
public sortBy ( TimePeriodsSort $sort ) : self
public first ( void ) : ? TimePeriod
public last ( void ) : ? TimePeriod
public add ( TimePeriod $timePeriods ) : self
public merge ( self $timePeriods ) : self
}
Table of Contents