Aeon\Calendar\Gregorian\Year

View at GitHub ( 1.0 )
Introduction

Class synopis

class final Year
{
public __construct ( int $year )
public static fromDateTime ( \DateTimeInterface $dateTime ) : self
public static fromString ( string $date ) : self
public __debugInfo ( void ) : array
public __serialize ( void ) : array
public __unserialize ( array $data ) : void
public toString ( void ) : string
public january ( void ) : Month
public february ( void ) : Month
public march ( void ) : Month
public april ( void ) : Month
public may ( void ) : Month
public june ( void ) : Month
public july ( void ) : Month
public august ( void ) : Month
public september ( void ) : Month
public october ( void ) : Month
public november ( void ) : Month
public december ( void ) : Month
public months ( void ) : YearMonths
public number ( void ) : int
public plus ( int $years ) : self
public minus ( int $years ) : self
public next ( void ) : self
public previous ( void ) : self
public numberOfMonths ( void ) : int
public numberOfDays ( void ) : int
public quarter ( int $number ) : Quarter
public mapDays ( callable $iterator ) : array
public filterDays ( callable $iterator ) : Days
public isLeap ( void ) : bool
public isEqual ( self $year ) : bool
public isBefore ( self $year ) : bool
public isBeforeOrEqual ( self $year ) : bool
public isAfter ( self $year ) : bool
public isAfterOrEqual ( self $year ) : bool
public iterate ( self $destination , Interval $interval ) : Years
public until ( self $month , Interval $interval ) : Years
public since ( self $month , Interval $interval ) : Years
public distance ( self $to ) : TimeUnit
}
Table of Contents