Aeon\Calendar\Gregorian\TimePeriod

View at GitHub ( 1.x )
Introduction

Class synopis

class final TimePeriod
{
public __construct ( DateTime $start , DateTime $end )
public __serialize ( void ) : array
public start ( void ) : DateTime
public end ( void ) : DateTime
public isForward ( void ) : bool
public isBackward ( void ) : bool
public distance ( void ) : TimeUnit
public leapSeconds ( void ) : LeapSeconds
public iterate ( Unit $timeUnit , Interval $interval ) : TimePeriods
public iterateBackward ( Unit $timeUnit , Interval $interval ) : TimePeriods
public overlaps ( self $timePeriod ) : bool
public contains ( self $timePeriod ) : bool
public revert ( void ) : self
public merge ( self $timePeriod ) : self
public abuts ( self $timePeriod ) : bool
public isEqual ( self $period ) : bool
}
Table of Contents